mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
cdac09614e
messaging system as a notification mechanism, and the speed of notification
greatly exceeds the speed of message recovery, then you get a massively (>75Mb)
growing tdb. If the message is a simple notification, then the message is
static, and you only need one of them in transit to a target process at
any one time.
This patch adds a BOOL "allow_duplicates" to the message_send_XX primitives.
If set to False, then before sending a message the sender checks the existing
message queue for a target pid for a duplicate of this message, and doesn't
add to it if one already exists.
Also added code into msgtest.c to test this.
Jeremy.
(This used to be commit
|
||
---|---|---|
.. | ||
debug2html.c | ||
locktest2.c | ||
locktest.c | ||
make_printerdef.c | ||
make_smbcodepage.c | ||
make_unicodemap.c | ||
masktest.c | ||
msgtest.c | ||
nbio.c | ||
nmblookup.c | ||
rpctorture.c | ||
smbcontrol.c | ||
smbfilter.c | ||
smbpasswd.c | ||
smbrun.c | ||
smbw_sample.c | ||
status.c | ||
testparm.c | ||
testprns.c | ||
torture.c |