summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-01-14 19:34:28 +0000
committerJeremy Allison <jra@samba.org>2002-01-14 19:34:28 +0000
commit9e007457e4aa0ed8656782be1b8af42fc217614b (patch)
treeb5295dc046a5bd25bc82080a6673325c2a87d7cf /source3/printing
parent3353223b4766b0cc87bd1b4ed7f67bc52b2a7da3 (diff)
downloadsamba-9e007457e4aa0ed8656782be1b8af42fc217614b.tar.gz
samba-9e007457e4aa0ed8656782be1b8af42fc217614b.tar.bz2
samba-9e007457e4aa0ed8656782be1b8af42fc217614b.zip
Removed MAXSTATUS which was set incorrectly - thus causing tdb traversal
of the connections db on smbd startup. This should fix the Solaris large load bug.... (fingers crossed). Jeremy. (This used to be commit 5b2b9c25af28543e67762805d1387524cbb6c39d)
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/printing.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/source3/printing/printing.c b/source3/printing/printing.c
index 08115cdb79..339ca721c6 100644
--- a/source3/printing/printing.c
+++ b/source3/printing/printing.c
@@ -507,15 +507,13 @@ void start_background_queue(void)
/* Child. */
DEBUG(5,("start_background_queue: background LPQ thread started\n"));
- claim_connection(NULL,"smbd lpq backend",MAXSTATUS,False);
+ claim_connection(NULL,"smbd lpq backend",0,False);
- if (!locking_init(0)) {
+ if (!locking_init(0))
exit(1);
- }
- if (!print_backend_init()) {
+ if (!print_backend_init())
exit(1);
- }
message_register(MSG_PRINTER_UPDATE, print_queue_receive);