source: trunk/server/docs-xml/smbdotconf/printing/lpqcachetime.xml

Last change on this file was 414, checked in by Herwig Bauernfeind, 15 years ago

Samba 3.5.0: Initial import

File size: 1.2 KB
Line 
1<samba:parameter name="lpq cache time"
2 context="G"
3 type="integer"
4 developer="1"
5 xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
6<description>
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>
13
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>
16
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>
21
22<para>A value of 0 will disable caching completely.</para>
23</description>
24
25<related>printing</related>
26
27<value type="default">30</value>
28<value type="example">10</value>
29</samba:parameter>
Note: See TracBrowser for help on using the repository browser.