summaryrefslogtreecommitdiffstats
path: root/src/server
diff options
context:
space:
mode:
Diffstat (limited to 'src/server')
-rw-r--r--src/server/Engine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/Engine.cpp b/src/server/Engine.cpp
index 4c258d54..1b6d54ca 100644
--- a/src/server/Engine.cpp
+++ b/src/server/Engine.cpp
@@ -363,7 +363,7 @@ Engine::enqueue_event(Event* ev)
unsigned
Engine::process_events()
{
- const size_t MAX_EVENTS_PER_CYCLE = 4;//_process_context.nframes() / 4;
+ const size_t MAX_EVENTS_PER_CYCLE = _process_context.nframes() / 4;
return _pre_processor->process(
_process_context, *_post_processor, MAX_EVENTS_PER_CYCLE);
}