summaryrefslogtreecommitdiff
path: root/source3/include/local.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-10-04 22:53:18 +0000
committerJeremy Allison <jra@samba.org>2002-10-04 22:53:18 +0000
commit3665777a5bc7ffa92f64ba17daf4cc66c3607198 (patch)
tree125ab749ead948e0a453bbfb4901afb716150eb7 /source3/include/local.h
parentcc169cc66824b5a4e33fca8fbd6bd733b7282639 (diff)
downloadsamba-3665777a5bc7ffa92f64ba17daf4cc66c3607198.tar.gz
Add a timeout to tdb_lock_bystring(). Ensure we never have more than
MAX_PRINT_JOBS in a queue. Jeremy. (This used to be commit 9fe3c0b90d4bff2217e3cb5a34b4683ca314c06e)
Diffstat (limited to 'source3/include/local.h')
-rw-r--r--source3/include/local.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/include/local.h b/source3/include/local.h
index 5096e13fc39..2be9c1e1017 100644
--- a/source3/include/local.h
+++ b/source3/include/local.h
@@ -210,4 +210,7 @@
/* this enables the "rabbit pellet" fix for SMBwritebraw */
#define RABBIT_PELLET_FIX 1
+/* Max number of jobs per print queue. */
+#define PRINT_MAX_JOBID 10000
+
#endif