Created
October 28, 2009 11:29
-
-
Save pgte/220425 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ENVIRONMENT]: | |
servers: | |
broadcast: | |
bind_address: # the IP address for the server receiving UDP broadcasts. Default is 255.255.255.255 | |
port: # the UDP port for receiving broadcasts. Default is 10000 | |
public: | |
bind_address: #the IP address for the server receiving UDP commands specific to this host. Default is 0.0.0.0 (all interfaces) | |
port: # the UDP port for receiving direct commands. Default is 10001 | |
private: | |
port: # the UDP port for receiving private commands. Default is 10002 | |
admin: | |
bind_address: # the IP address for the admin server receiving TCP commands. Default is 0.0.0.0 (all interfaces) | |
port: # the TCP port for receiving admin commands. Default is 10003 | |
sweeping: | |
pages: | |
base_dir: # the page cache main directory. Defaults to RAILS_ROOT/public. | |
allowed_paths: # Array containing the allowed paths to be swept. Place here an array containing expressions for file matching. example: [dev, dev/*]. Match is done using File.fnmatch expressions: <a href="http://www.ruby-doc.org/core/classes/File.html#M002519">http://www.ruby-doc.org/core/classes/File.html#M002519</a> | |
fragments: | |
base_dir: # fragment cache dir. Defaults to RAILS_ROOT/tmp/cache | |
persistence: | |
persist: # true or false - true if you want sweepy to keep track of unresponsive peers. Needs tokyocabinet (see "Install":http://wiki.github.com/pgte/sweepy/install ) | |
peers: # An array of IP addresses of each box that must be contacted when cache sweeping occurs. Example: [192.168.1.100, 192.168.1.101] | |
retry_after_secs: #the amount of time in seconds the retries will try to send this message. Default: 10. Only relevant if using persist: true | |
timeout_secs: # The amount of time in seconds after which an unresponsive box os no longer retried. Default: 1000 | |
[ENVIRONMENT B]: | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment