summaryrefslogtreecommitdiff
path: root/source4/lib/messaging
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-10-17 13:33:03 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:59:59 -0500
commit6cc8941f05d5c41e04d83382a7e282fcc191ccd1 (patch)
tree3ca4d87d327604eee489c8cdbc448363bc668c9e /source4/lib/messaging
parent605560149e544aaa889e352232c26450d7a0c84f (diff)
downloadsamba-6cc8941f05d5c41e04d83382a7e282fcc191ccd1.tar.gz
samba-6cc8941f05d5c41e04d83382a7e282fcc191ccd1.tar.bz2
samba-6cc8941f05d5c41e04d83382a7e282fcc191ccd1.zip
r3023: added immediate send of messages when they are first queued. This makes things a bit more efficient
(This used to be commit 8380225d326e4bfb3f15fddc72c097870713132a)
Diffstat (limited to 'source4/lib/messaging')
-rw-r--r--source4/lib/messaging/messaging.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/lib/messaging/messaging.c b/source4/lib/messaging/messaging.c
index 7e87ea45df..2f9a43c847 100644
--- a/source4/lib/messaging/messaging.c
+++ b/source4/lib/messaging/messaging.c
@@ -375,6 +375,8 @@ NTSTATUS messaging_send(void *msg_ctx, servid_t server, uint32_t msg_type, DATA_
talloc_set_destructor(rec, rec_destructor);
+ messaging_send_handler(msg->event.ev, rec->fde, 0, EVENT_FD_WRITE);
+
return NT_STATUS_OK;
}