summaryrefslogtreecommitdiff
path: root/source3/include/local.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2020-06-03 14:41:12 +0200
committerStefan Metzmacher <metze@samba.org>2020-07-08 15:54:38 +0000
commit816528923e9df51cf6f958190704013cf4ca4740 (patch)
treee94c7f8b58292167e0a50e0668c3351361b81f85 /source3/include/local.h
parentbd71d2d92c2186bc503449085e53fcb7564cbb42 (diff)
downloadsamba-816528923e9df51cf6f958190704013cf4ca4740.tar.gz
s3:includes: change OPLOCK_BREAK_TIMEOUT from 30 to 35 seconds
This is what windows is using for normal oplock and lease breaks. Note that windows uses higher values for persistent handles, they use 60 seconds for oplocks and 180 seconds for leases. BUG: https://bugzilla.samba.org/show_bug.cgi?id=11897 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/include/local.h')
-rw-r--r--source3/include/local.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/local.h b/source3/include/local.h
index 82c3325008c..297e5572fdb 100644
--- a/source3/include/local.h
+++ b/source3/include/local.h
@@ -128,7 +128,7 @@
/* Timout (in seconds) to wait for an oplock break
message to return from the client. */
-#define OPLOCK_BREAK_TIMEOUT 30
+#define OPLOCK_BREAK_TIMEOUT 35
/* Timout (in seconds) to add to the oplock break timeout
to wait for the smbd to smbd message to return. */