git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53a9f3c
)
s3:messages: explicitly use max_thread=unlimited for pthreadpool_tevent_init() in...
author
Stefan Metzmacher
<metze@samba.org>
Thu, 21 Jun 2018 22:10:08 +0000
(
00:10
+0200)
committer
Stefan Metzmacher
<metze@samba.org>
Thu, 12 Jul 2018 12:25:18 +0000
(14:25 +0200)
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>
source3/lib/messages_dgm.c
patch
|
blob
|
history
diff --git
a/source3/lib/messages_dgm.c
b/source3/lib/messages_dgm.c
index 0ad8f46e09f13086ccb75776fd8419f438652934..daaad9619e080c632d2250197f5b6bf7da8cfc3f 100644
(file)
--- a/
source3/lib/messages_dgm.c
+++ b/
source3/lib/messages_dgm.c
@@
-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));