aboutsummaryrefslogtreecommitdiff
path: root/src/or/cpuworker.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/cpuworker.c')
-rw-r--r--src/or/cpuworker.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/cpuworker.c b/src/or/cpuworker.c
index eb264bfcfc..d1c0f0e04d 100644
--- a/src/or/cpuworker.c
+++ b/src/or/cpuworker.c
@@ -46,8 +46,7 @@ static void process_pending_task(connection_t *cpuworker);
void
cpu_init(void)
{
- last_rotation_time=time(NULL);
- spawn_enough_cpuworkers();
+ cpuworkers_rotate();
}
/** Called when we're done sending a request to a cpuworker. */