~zulcss/samba/server-dailies-3.4

« back to all changes in this revision

Viewing changes to docs-xml/smbdotconf/printing/lpqcachetime.xml

  • Committer: Chuck Short
  • Date: 2010-09-28 20:38:39 UTC
  • Revision ID: zulcss@ubuntu.com-20100928203839-pgjulytsi9ue63x1
Initial version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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>