summaryrefslogtreecommitdiff
path: root/docs/docbook/smbdotconf/tuning/changenotifytimeout.xml
blob: 471798c269a7cd6d783fa668e8210d1fe59881a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<samba:parameter name="change notify timeout"
                 context="G"
                 developer="1"
                 xmlns:samba="http://samba.org/common">
<listitem>
    <para>This SMB allows a client to tell a server to 
    &quot;watch&quot; a particular directory for any changes and only reply to
    the SMB request when a change has occurred. Such constant scanning of
    a directory is expensive under UNIX, hence an <citerefentry><refentrytitle>smbd</refentrytitle>
    <manvolnum>8</manvolnum></citerefentry> daemon only performs such a scan 
    on each requested directory once every <parameter moreinfo="none">change notify 
    timeout</parameter> seconds.</para>

    <para>Default: <command moreinfo="none">change notify timeout = 60</command></para>

    <para>Example: <command moreinfo="none">change notify timeout = 300</command></para>

    <para>Would change the scan time to every 5 minutes.</para>
</listitem>
</samba:parameter>