From 8daa83a594a2e98f39d764422bfbdbc62c9efd44 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 19:20:00 +0200 Subject: Adding upstream version 2:4.20.0+dfsg. Signed-off-by: Daniel Baumann --- docs-xml/smbdotconf/printing/lpqcachetime.xml | 28 +++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 docs-xml/smbdotconf/printing/lpqcachetime.xml (limited to 'docs-xml/smbdotconf/printing/lpqcachetime.xml') diff --git a/docs-xml/smbdotconf/printing/lpqcachetime.xml b/docs-xml/smbdotconf/printing/lpqcachetime.xml new file mode 100644 index 0000000..0b3670a --- /dev/null +++ b/docs-xml/smbdotconf/printing/lpqcachetime.xml @@ -0,0 +1,28 @@ + + + This controls how long lpq info will be cached + for to prevent the lpq command being called too + often. A separate cache is kept for each variation of the + lpq command used by the system, so if you use different + lpq commands for different users then they won't + share cache information. + + The cache files are stored in /tmp/lpq.xxxx + where xxxx is a hash of the lpq command in use. + + The default is 30 seconds, meaning that the cached results + of a previous identical lpq command will be used + if the cached data is less than 30 seconds old. A large value may + be advisable if your lpq command is very slow. + +A value of 0 will disable caching completely. + + +printing + +30 +10 + -- cgit v1.2.3