1
0
mirror of https://github.com/osmarks/ngircd.git synced 2025-02-28 15:00:02 +00:00
Alexander Barton 456eea6f18
Implement new configuration option "MaxPenaltyTime" (#251)
This option configures the maximum penalty time increase in seconds, per
penalty event. Set to -1 for no limit (the default), 0 to disable
penalties altogether. ngIRCd doesn't use penalty increases higher than 2
seconds during normal operation, so values higher than 1 rarely make
sense.

Disabling (or reducing) penalties can greatly speed up "make check" runs
for example, see below, but are mostly a debugging feature and normally
not meant to be used on production systems!

Some example timings running "make check" from my macOS workstation:

- MaxPenaltyTime not set: 4:41,79s
- "MaxPenaltyTime = 1":   3:14,71s
- "MaxPenaltyTime = 0":     25,46s

Closes #249.
2018-11-28 14:13:09 +01:00
..
2015-07-19 03:03:06 +02:00
2014-03-19 00:59:01 +01:00
2015-06-24 21:15:44 +02:00
2015-09-06 19:38:16 +02:00
2015-09-06 19:38:16 +02:00
2017-01-15 22:07:11 +01:00