summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJean-François Micouleau <jfm@samba.org>2001-10-16 23:16:00 +0000
committerJean-François Micouleau <jfm@samba.org>2001-10-16 23:16:00 +0000
commit3f1d1008428f9563d33dff96d1304e30dae3d0f2 (patch)
tree584916e758efe652c88ebfe40255c057e9526a15 /source3/smbd
parent375dcb9a8b9bd5774fb4a947b07fd4c9f78f8719 (diff)
downloadsamba-3f1d1008428f9563d33dff96d1304e30dae3d0f2.tar.gz
samba-3f1d1008428f9563d33dff96d1304e30dae3d0f2.tar.bz2
samba-3f1d1008428f9563d33dff96d1304e30dae3d0f2.zip
very simple asynchronous "lpq" thread patch
To speed up operations with the lpq command, it's now run in a separate asynchronous process. Opening the Printers folder on NT is now fast ;-) I think even faster than with a ** server Jeremy, you should look at that patch to include it in 2.2.3 J.F. (This used to be commit 8ef9dff3074e7979579ce66a204e8ec7bf62a587)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/server.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index f707a61376..4599cef41f 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -791,6 +791,8 @@ static void usage(char *pname)
/* Setup the main smbd so that we can get messages. */
claim_connection(NULL,"",MAXSTATUS,True);
+ start_background_queue();
+
if (!open_sockets(is_daemon,port))
exit(1);