diff options
| author | Jeremy Allison <jra@samba.org> | 2003-01-30 23:55:13 +0000 |
|---|---|---|
| committer | Jeremy Allison <jra@samba.org> | 2003-01-30 23:55:13 +0000 |
| commit | b102e79e751ad2d658d0681061b6d56f1027be66 (patch) | |
| tree | fbdcbf383457db93e3fdb7bb73ca018b6090f9db /source3/utils/smbcontrol.c | |
| parent | bcf6fae786167ad17d0c4fba5af72d509528deba (diff) | |
| download | samba-b102e79e751ad2d658d0681061b6d56f1027be66.tar.gz samba-b102e79e751ad2d658d0681061b6d56f1027be66.tar.xz samba-b102e79e751ad2d658d0681061b6d56f1027be66.zip | |
Add 3 second timeout when terminating server and sending print notify
messages. Stops build-up of large numbers of smbd's waiting to terminate
on large print throughput.
Jeremy.
(This used to be commit 4ae130bfa82be60de6a6f357f65207fcb24f45fb)
Diffstat (limited to 'source3/utils/smbcontrol.c')
| -rw-r--r-- | source3/utils/smbcontrol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/smbcontrol.c b/source3/utils/smbcontrol.c index b22f697dd3..d622edd69f 100644 --- a/source3/utils/smbcontrol.c +++ b/source3/utils/smbcontrol.c @@ -641,7 +641,7 @@ static BOOL do_command(char *dest, char *msg_name, int iparams, char **params) /* check if we have any pending print notify messages */ if ( check_notify_msgs ) - print_notify_send_messages(); + print_notify_send_messages(0); return (True); } |
