Automatically select the first worker for development
This commit is contained in:
@@ -152,6 +152,13 @@ int main(int argc, char **argv) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: REMOVE
|
||||||
|
if (!worker) {
|
||||||
|
worker = worker_map[0].worker;
|
||||||
|
}
|
||||||
|
// TODO: REMOVE
|
||||||
|
|
||||||
if (worker) {
|
if (worker) {
|
||||||
zmsg_send(&msg, zactor_sock(worker));
|
zmsg_send(&msg, zactor_sock(worker));
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user