Automatically select the first worker for development

This commit is contained in:
2024-03-03 02:01:10 -05:00
parent 07ee70b002
commit d6c57e9e32

View File

@@ -152,6 +152,13 @@ int main(int argc, char **argv) {
break;
}
}
// TODO: REMOVE
if (!worker) {
worker = worker_map[0].worker;
}
// TODO: REMOVE
if (worker) {
zmsg_send(&msg, zactor_sock(worker));
} else {