]> arthur.barton.de Git - ngircd.git/commit
Enhance server command limits
authorAlexander Barton <alex@barton.de>
Tue, 24 Jan 2012 01:55:53 +0000 (02:55 +0100)
committerAlexander Barton <alex@barton.de>
Tue, 24 Jan 2012 01:55:53 +0000 (02:55 +0100)
commit871760583cb4f90e908d3dac94679ce876d78c83
treeb972c7345fed44674430f65ca39511bd7ee5f1de
parentbc20f9ec1076a67a81ed8e7c3489ffbdf3387e53
Enhance server command limits

This patch updates the limits for handling commands from a remote server:

 - "<user count> / 5 + <min>" using "<min>=10" during normal operation,
 - the above count multiplied with 5 while servers are syncing.

The intention is to a) make the limit dependent of the number of users
in the network (the more users, the more commands required to sync) and
b) to significantly rise this limit while servers are joining the network
to make the login and synchronization faster.
src/ngircd/conn.c