src/server/daemon/threadpools.c

changeset 67
50505dc3f8a6
parent 44
3da1f7b6847f
child 77
f1cff81e425a
--- a/src/server/daemon/threadpools.c	Sun May 26 12:12:07 2013 +0200
+++ b/src/server/daemon/threadpools.c	Sun May 26 22:05:41 2013 +0200
@@ -53,7 +53,7 @@
         /* TODO: reconfig thread pool */
         return 0;
     } else {
-        threadpool_t *tp = threadpool_new(cfg->min_threads);
+        threadpool_t *tp = threadpool_new(cfg->min_threads, cfg->max_threads);
         
         int ret = ucx_map_sstr_put(thread_pool_map, name, tp);
         

mercurial