From 765e5d2282959770ea9648e0f2b72e51e5b4cdd8 Mon Sep 17 00:00:00 2001 From: Karolin Seeger Date: Tue, 23 Sep 2008 16:54:05 -0700 Subject: printing: Add new parameter "cups timeout". The default timeout for connections to CUPS servers is set to 5 minutes in the CUPS libraries. The smbd hangs on startup until the timeout is reached if the CUPS server is unreachable. This parameter makes the timeout configurable. The default value is set to 30 seconds. Karolin --- source3/include/printing.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/include/printing.h') diff --git a/source3/include/printing.h b/source3/include/printing.h index 2788143cc5..04e30a011b 100644 --- a/source3/include/printing.h +++ b/source3/include/printing.h @@ -77,6 +77,7 @@ extern struct printif iprint_printif; #define NEXT_JOBID(j) ((j+1) % PRINT_MAX_JOBID > 0 ? (j+1) % PRINT_MAX_JOBID : 1) #define MAX_CACHE_VALID_TIME 3600 +#define CUPS_DEFAULT_TIMEOUT 30 #ifndef PRINT_SPOOL_PREFIX #define PRINT_SPOOL_PREFIX "smbprn." -- cgit