summaryrefslogtreecommitdiff
path: root/docs/smbdotconf/tuning/changenotifytimeout.xml
diff options
context:
space:
mode:
Diffstat (limited to 'docs/smbdotconf/tuning/changenotifytimeout.xml')
-rw-r--r--docs/smbdotconf/tuning/changenotifytimeout.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/smbdotconf/tuning/changenotifytimeout.xml b/docs/smbdotconf/tuning/changenotifytimeout.xml
new file mode 100644
index 0000000000..16160f10af
--- /dev/null
+++ b/docs/smbdotconf/tuning/changenotifytimeout.xml
@@ -0,0 +1,18 @@
+<samba:parameter name="change notify timeout"
+ type="integer"
+ context="G"
+ developer="1"
+ xmlns:samba="http://samba.org/common">
+<description>
+ <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>
+</description>
+
+<value type="default">60</value>
+<value type="example">300<comment>Would change the scan time to every 5 minutes.</comment></value>
+</samba:parameter>