Prioridad: el worker VPS nunca idle. Import de 108 candidatos Go nuevos (listas fuel-go menos el corpus); 2 olas → 51 recetas importadas (yield ~47%), pusheadas a la cola incoming-go del VPS. El worker las está moliendo (load ~17). Incluye proyectos Go grandes (dolt/etcd/dagger/crane/gitlab-runner/forgejo) que vendorean cientos de deps ⇒ builds largos. Crudas de nixpkgs (tag sin pin, algún misimport Python que falla inocuo); la cosecha promueve sólo las que sellan + pasan smoke. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
27 lines
881 B
Diff
27 lines
881 B
Diff
Based on: https://codeberg.org/bizdelnick/gross/commit/5a27b077d1b34b64687d1e3b717175280337aa22#diff-09c2d15e9648a6e088b053b7d71a3b532ce5b61b
|
|
---
|
|
diff -ruN a/include/thread_pool.h b/include/thread_pool.h
|
|
--- a/include/thread_pool.h 2025-07-30 17:19:45.060000000 +0000
|
|
+++ b/include/thread_pool.h 2025-07-30 17:26:12.140000000 +0000
|
|
@@ -22,6 +20,10 @@
|
|
|
|
#include <signal.h>
|
|
|
|
+#ifdef HAVE_STDBOOL_H
|
|
+# include <stdbool.h>
|
|
+#endif
|
|
+
|
|
typedef int mseconds_t;
|
|
|
|
typedef struct thread_pool_s
|
|
@@ -109,8 +110,7 @@
|
|
int submit_job(thread_pool_t *pool, edict_t *edict);
|
|
thread_pool_t *create_thread_pool(const char *name, int (*routine) (thread_pool_t *, thread_ctx_t *,
|
|
edict_t *), pool_limits_t *limits, void *arg);
|
|
-edict_t *edict_get();
|
|
-edict_t *edict_get();
|
|
+edict_t *edict_get(bool forget);
|
|
void send_result(edict_t *edict, void *result);
|
|
void edict_unlink(edict_t *edict);
|
|
|