X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=bluesky%2Fstore.c;h=eea44f2e72c47eb0b09dc7441b3a230871f250fc;hb=fb15c75f3c8eeb3d7b277795ced44bb4928273a1;hp=888bd1b07b490b6ae305377c2a8c8c1809c8ac9e;hpb=8e686a50b321c7d2d154bd6121dd4a1e982f595d;p=bluesky.git diff --git a/bluesky/store.c b/bluesky/store.c index 888bd1b..eea44f2 100644 --- a/bluesky/store.c +++ b/bluesky/store.c @@ -472,8 +472,8 @@ static BlueSkyStoreImplementation filestore_impl = { void bluesky_store_init() { store_implementations = g_hash_table_new(g_str_hash, g_str_equal); - notifier_thread_pool = g_thread_pool_new(notifier_task, NULL, -1, FALSE, - NULL); + notifier_thread_pool = g_thread_pool_new(notifier_task, NULL, + bluesky_max_threads, FALSE, NULL); bluesky_store_register(&memstore_impl, "mem"); bluesky_store_register(&filestore_impl, "file"); }