mirror of
https://github.com/samba-team/samba.git
synced 2025-08-02 00:22:11 +03:00
s3:messages: explicitly use max_thread=unlimited for pthreadpool_tevent_init() in messaging_dgm_init()
Currently 0 also means unlimited, but that will change soon, to force no thread and strict sync processing. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
@ -1072,7 +1072,7 @@ int messaging_dgm_init(struct tevent_context *ev,
|
|||||||
|
|
||||||
ctx->have_dgm_context = &have_dgm_context;
|
ctx->have_dgm_context = &have_dgm_context;
|
||||||
|
|
||||||
ret = pthreadpool_tevent_init(ctx, 0, &ctx->pool);
|
ret = pthreadpool_tevent_init(ctx, UINT_MAX, &ctx->pool);
|
||||||
if (ret != 0) {
|
if (ret != 0) {
|
||||||
DBG_WARNING("pthreadpool_tevent_init failed: %s\n",
|
DBG_WARNING("pthreadpool_tevent_init failed: %s\n",
|
||||||
strerror(ret));
|
strerror(ret));
|
||||||
|
Reference in New Issue
Block a user