summaryrefslogtreecommitdiffstats
path: root/source4/wrepl_server/wrepl_server.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-11-07 13:22:51 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:45:52 -0500
commitc643b10d09f0083f3bcb437b0960e5053b6f5a64 (patch)
tree83bd5823e232add53158da14340df71458990623 /source4/wrepl_server/wrepl_server.h
parentc4a0e36143fed4ca2ba29ddc1b52dd6e22d713fb (diff)
downloadsamba-c643b10d09f0083f3bcb437b0960e5053b6f5a64.tar.gz
samba-c643b10d09f0083f3bcb437b0960e5053b6f5a64.tar.xz
samba-c643b10d09f0083f3bcb437b0960e5053b6f5a64.zip
r11547: - don't do pull replication when pullIntervall is 0
- don't do push replication when pushChangeCount is 0 metze (This used to be commit 4122e9ec3a4394738fa3c261dc92938ea86c3822)
Diffstat (limited to 'source4/wrepl_server/wrepl_server.h')
-rw-r--r--source4/wrepl_server/wrepl_server.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/wrepl_server/wrepl_server.h b/source4/wrepl_server/wrepl_server.h
index 63603c823d..d7d71b6175 100644
--- a/source4/wrepl_server/wrepl_server.h
+++ b/source4/wrepl_server/wrepl_server.h
@@ -125,6 +125,8 @@ enum winsrepl_partner_type {
#define WINSREPL_DEFAULT_PULL_INTERVAL (30*60)
#define WINSREPL_DEFAULT_PULL_RETRY_INTERVAL (30)
+#define WINSREPL_DEFAULT_PUSH_CHANGE_COUNT (0)
+
/*
this represents one of our configured partners
*/