view doc/rt_deny_by_size.conf.sample @ 1396:188c82b6690b

Add ProcessingPeersPattern and ProcessingPeersMinimum parameters. If this is configured, the process will accept all connections from peers matching ProcessingPeersPattern, but will NOT accept connections from other peers until ProcessingPeersMinimum peers of the first type are connected. This allows relays to only go online if there are enough worker peers connected behind them.
author Thomas Klausner <tk@giga.or.at>
date Fri, 15 Nov 2019 11:38:30 +0100
parents daf61e573fee
children
line wrap: on
line source

# This file contains information for configuring the rt_deny_by_size extension.
#
# The rt_deny_by_size extension returns errors for messages above a particular size.
#
# This extension supports configuration reload at runtime. Send
# signal SIGUSR1 to the process to cause the process to reload its
# config.
#
# Configure the maximum allowed message size to still pass through;
# defaults to 4096, if config file is empty
#MaximumSize=4096;
"Welcome to our mercurial repository"