summaryrefslogtreecommitdiffstats
path: root/source/include/local.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-07-01 22:55:38 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:06 -0500
commitfbc06831d3a7e8645409158ee1ae1f9f192913a7 (patch)
tree5b22615d959ef01c63cc928e0d35db0097eec7f8 /source/include/local.h
parent374f00b56b7e9bff08e70ee2d93538b2c7fde7b7 (diff)
downloadsamba-fbc06831d3a7e8645409158ee1ae1f9f192913a7.tar.gz
samba-fbc06831d3a7e8645409158ee1ae1f9f192913a7.tar.xz
samba-fbc06831d3a7e8645409158ee1ae1f9f192913a7.zip
r1325: Always use GetTimeOfDay() (wrapper). Ensure ldap replication
sleep time is not more than 5 seconds. Should fix issue reported by Chris Garrigues <cwg@deepeddy.com>. Jeremy.
Diffstat (limited to 'source/include/local.h')
-rw-r--r--source/include/local.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/include/local.h b/source/include/local.h
index ee8d6725535..7ac2e256120 100644
--- a/source/include/local.h
+++ b/source/include/local.h
@@ -233,4 +233,6 @@
/* Number of microseconds to wait before a sharing violation. */
#define SHARING_VIOLATION_USEC_WAIT 950000
+#define MAX_LDAP_REPLICATION_SLEEP_TIME 5000 /* In milliseconds. */
+
#endif