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