Automatically select the first worker for development
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user