1
0
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:
Stefan Metzmacher
2018-06-22 00:10:08 +02:00
parent 53a9f3cac6
commit 65faef959d

View File

@ -1072,7 +1072,7 @@ int messaging_dgm_init(struct tevent_context *ev,
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) {
DBG_WARNING("pthreadpool_tevent_init failed: %s\n",
strerror(ret));