-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
@prajnoha this comment is for when we've got re-usable workers? Currently the kill() won't block, so we don't need a timeout here. (?)
sid/src/resource/worker-control.c
Line 356 in cf867f8
| /* FIXME: Make timeout configurable. If timeout is set to zero, exit worker right away - call |
/* FIXME: Make timeout configurable. If timeout is set to zero, exit worker right away - call
_make_worker_exit.
*
timeout_usec = util_get_now_usec(CLOCK_MONOTONIC) + DEFAULT_WORKER_IDLE_TIMEOUT_USEC;
sid_resource_create_time_event_source(chan->owner, &worker_proxy->idle_timeout_es, CLOCK_MONOTONIC,
timeout_usec, 0, _on_worker_proxy_idle_timeout_event, "idle
timeout", chan->owner); _change_worker_proxy_state(chan->owner, WORKER_STATE_IDLE);
*/
Metadata
Metadata
Assignees
Labels
No labels