diff options
author | Roger Dingledine <arma@torproject.org> | 2005-08-15 10:27:37 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-08-15 10:27:37 +0000 |
commit | 10ff72393860183f3379a6f678d1c381704058db (patch) | |
tree | 156e62a453e5c8458b475d7072f1bae3928f676b /src/or/cpuworker.c | |
parent | 157f013d83f4710578e96fec165c677ed51056b9 (diff) | |
download | tor-10ff72393860183f3379a6f678d1c381704058db.tar.gz tor-10ff72393860183f3379a6f678d1c381704058db.zip |
initialize the dns worker cache tree whether or not we start
out as a server.
svn:r4785
Diffstat (limited to 'src/or/cpuworker.c')
-rw-r--r-- | src/or/cpuworker.c | 3 |
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. */ |