Browse Source

Merge remote-tracking branch 'slingamn/default_tweaks'

tags/v0.10.0
Daniel Oaks 6 years ago
parent
commit
90bb3f79d3
2 changed files with 4 additions and 4 deletions
  1. 1
    1
      irc/client.go
  2. 3
    3
      oragono.yaml

+ 1
- 1
irc/client.go View File

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

+ 3
- 3
oragono.yaml View File

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

Loading…
Cancel
Save