3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-10 22:19:31 +01:00

Merge remote-tracking branch 'slingamn/default_tweaks'

This commit is contained in:
Daniel Oaks 2017-10-11 07:44:36 +10:00
commit 90bb3f79d3
2 changed files with 4 additions and 4 deletions

View File

@ -30,7 +30,7 @@ const (
// QuitTimeout is how long without traffic (after they're considered idle) that clients are killed.
QuitTimeout = time.Minute
// IdentTimeoutSeconds is how many seconds before our ident (username) check times out.
IdentTimeoutSeconds = 5
IdentTimeoutSeconds = 1.5
)
var (

View File

@ -75,10 +75,10 @@ server:
enabled: true
# how wide the cidr should be for IPv4
cidr-len-ipv4: 24
cidr-len-ipv4: 32
# how wide the cidr should be for IPv6
cidr-len-ipv6: 120
cidr-len-ipv6: 64
# maximum number of IPs per subnet (defined above by the cird length)
ips-per-subnet: 16
@ -104,7 +104,7 @@ server:
duration: 10m
# maximum number of connections, per subnet, within the given duration
max-connections: 12
max-connections: 64
# how long to ban offenders for, and the message to use
# after banning them, the number of connections is reset (which lets you use UNDLINE to unban people)