summaryrefslogtreecommitdiffstats
path: root/source/include/local.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-07-01 22:55:38 +0000
committerJeremy Allison <jra@samba.org>2004-07-01 22:55:38 +0000
commit38faa150948effe5f854b1a511a3886c8a95d124 (patch)
tree97ca194731337ee1ca92cf9c87b41d8147a026ae /source/include/local.h
parent9564ddb88c3aa4be72fd324005026eeddd5c7004 (diff)
downloadsamba-38faa150948effe5f854b1a511a3886c8a95d124.tar.gz
samba-38faa150948effe5f854b1a511a3886c8a95d124.tar.xz
samba-38faa150948effe5f854b1a511a3886c8a95d124.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