Skip to content

Config Rsync threshold#28

Open
draco2003 wants to merge 2 commits intodimikot:masterfrom
wayfair-archive:config_threshold
Open

Config Rsync threshold#28
draco2003 wants to merge 2 commits intodimikot:masterfrom
wayfair-archive:config_threshold

Conversation

@draco2003
Copy link
Copy Markdown

Give the user the ability to configure the threshold that it uses rsync for.


# Set the number of changes that will trigger an rsync from the config file
$MIN_CHANGES_FOR_RSYNC = cfg("rsync_threshold");
print "mainloop MIN_CHANGES_FOR_RSYNC: $MIN_CHANGES_FOR_RSYNC\n";
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

debug printing? remove?

}

# Set the number of changes that will trigger an rsync from the config file
$MIN_CHANGES_FOR_RSYNC = cfg("rsync_threshold");
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should have a default value, or realsync will break for people who don't have this option in their config yet?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants