diff options
author | Jeremy Allison <jra@samba.org> | 2004-07-01 22:55:38 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:52:06 -0500 |
commit | c531f726c4431dc7bdeaf53864bfe30347e426f1 (patch) | |
tree | cac5e59dbffffaa3c1bc6a17b20753e2e5ce1d40 /source3/include/local.h | |
parent | 3382b0a21af393b4b40956c139224867daf4c848 (diff) | |
download | samba-c531f726c4431dc7bdeaf53864bfe30347e426f1.tar.gz |
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.
(This used to be commit fbc06831d3a7e8645409158ee1ae1f9f192913a7)
Diffstat (limited to 'source3/include/local.h')
-rw-r--r-- | source3/include/local.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/include/local.h b/source3/include/local.h index ee8d6725535..7ac2e256120 100644 --- a/source3/include/local.h +++ b/source3/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 |