From 3f1d1008428f9563d33dff96d1304e30dae3d0f2 Mon Sep 17 00:00:00 2001 From: Jean-François Micouleau Date: Tue, 16 Oct 2001 23:16:00 +0000 Subject: 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) --- source3/smbd/server.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/smbd') 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); -- cgit