summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_event_engine.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_event_engine.c')
-rw-r--r--src/nxt_event_engine.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nxt_event_engine.c b/src/nxt_event_engine.c
index ba297329..7f20c4c8 100644
--- a/src/nxt_event_engine.c
+++ b/src/nxt_event_engine.c
@@ -48,12 +48,14 @@ nxt_event_engine_create(nxt_task_t *task,
engine->batch = batch;
+#if 0
if (flags & NXT_ENGINE_FIBERS) {
engine->fibers = nxt_fiber_main_create(engine);
if (engine->fibers == NULL) {
goto fibers_fail;
}
}
+#endif
engine->current_work_queue = &engine->fast_work_queue;
@@ -138,9 +140,12 @@ signals_fail:
nxt_work_queue_cache_destroy(&engine->work_queue_cache);
nxt_free(engine->fibers);
+#if 0
fibers_fail:
nxt_free(engine);
+#endif
+
return NULL;
}