1
<samba:parameter name="lpq cache time"
5
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
7
<para>This controls how long lpq info will be cached
8
for to prevent the <command moreinfo="none">lpq</command> command being called too
9
often. A separate cache is kept for each variation of the <command moreinfo="none">
10
lpq</command> command used by the system, so if you use different
11
<command moreinfo="none">lpq</command> commands for different users then they won't
12
share cache information.</para>
14
<para>The cache files are stored in <filename moreinfo="none">/tmp/lpq.xxxx</filename>
15
where xxxx is a hash of the <command moreinfo="none">lpq</command> command in use.</para>
17
<para>The default is 30 seconds, meaning that the cached results
18
of a previous identical <command moreinfo="none">lpq</command> command will be used
19
if the cached data is less than 30 seconds old. A large value may
20
be advisable if your <command moreinfo="none">lpq</command> command is very slow.</para>
22
<para>A value of 0 will disable caching completely.</para>
25
<related>printing</related>
27
<value type="default">30</value>
28
<value type="example">10</value>