Branch: refs/heads/master
Home: https://github.com/ngircd/ngircd
Commit: 456eea6f1896528dad344ed2c254fd07bdc3a4b1
https://github.com/ngircd/ngircd/commit/456eea6f1896528dad344ed2c254fd07bdc…
Author: Alexander Barton <alex(a)barton.de>
Date: 2018-11-28 (Wed, 28 Nov 2018)
Changed paths:
M doc/sample-ngircd.conf.tmpl
M man/ngircd.conf.5.tmpl
M src/ngircd/conf.c
M src/ngircd/conf.h
M src/ngircd/conn-func.c
M src/testsuite/ngircd-test1.conf
M src/testsuite/ngircd-test2.conf
Log Message:
-----------
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.
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
Branch: refs/heads/bug249_MaxPenaltyTime
Home: https://github.com/ngircd/ngircd
Commit: c8dc55ba7208d331e570222adde45af10a4c5c63
https://github.com/ngircd/ngircd/commit/c8dc55ba7208d331e570222adde45af10a4…
Author: Alexander Barton <alex(a)barton.de>
Date: 2018-11-04 (Sun, 04 Nov 2018)
Changed paths:
M doc/sample-ngircd.conf.tmpl
M man/ngircd.conf.5.tmpl
M src/ngircd/conf.c
M src/ngircd/conf.h
M src/ngircd/conn-func.c
M src/testsuite/ngircd-test1.conf
M src/testsuite/ngircd-test2.conf
Log Message:
-----------
Implement new configuration option "MaxPenaltyTime"
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.
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.