summaryrefslogtreecommitdiff
path: root/source3/include/local.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include/local.h')
-rw-r--r--source3/include/local.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/include/local.h b/source3/include/local.h
index c1f1de2132..ae791d84e6 100644
--- a/source3/include/local.h
+++ b/source3/include/local.h
@@ -156,10 +156,14 @@
/* #define IDLE_DIR "/" */
/* Timout (in seconds) to wait for an oplock break
- message to return. */
+ message to return from the client. */
#define OPLOCK_BREAK_TIMEOUT 30
+/* Timout (in seconds) to add to the oplock break timeout
+ to wait for the smbd to smbd message to return. */
+
+#define OPLOCK_BREAK_TIMEOUT_FUDGEFACTOR 2
/* the read preciction code has been disabled until some problems with
it are worked out */