X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=nfs3%2Frpc.c;h=76de1cd86663ddb2bc3a922ec2abc93d0db2f464;hb=fb15c75f3c8eeb3d7b277795ced44bb4928273a1;hp=e1cb4d135b2397c3591cfd9d2763b8ed836a0172;hpb=8e686a50b321c7d2d154bd6121dd4a1e982f595d;p=bluesky.git diff --git a/nfs3/rpc.c b/nfs3/rpc.c index e1cb4d1..76de1cd 100644 --- a/nfs3/rpc.c +++ b/nfs3/rpc.c @@ -508,7 +508,8 @@ static async_rpc_init() main_context = g_main_context_new(); main_loop = g_main_loop_new(main_context, FALSE); - rpc_thread_pool = g_thread_pool_new(async_rpc_task, NULL, -1, FALSE, NULL); + rpc_thread_pool = g_thread_pool_new(async_rpc_task, NULL, + bluesky_max_threads, FALSE, NULL); /* Arrange to have the cache writeback code run every five seconds. */ GSource *source = g_timeout_source_new_seconds(5);