You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -90,7 +90,7 @@ Application Options:
90
90
--ipv6-disabled If specified, all AAAA requests will be replied with NoError RCode and empty answer
91
91
--bogus-nxdomain= Transform the responses containing at least a single IP that matches specified addresses and CIDRs into NXDOMAIN. Can be specified multiple times.
92
92
--udp-buf-size= Set the size of the UDP buffer in bytes. A value <= 0 will use the system default.
93
-
--max-go-routines= Set the maximum number of go routines. A value <= 0 will not not set a maximum.
93
+
--max-go-routines= Set the maximum number of go routines. A zero value will not not set a maximum.
94
94
--pprof If present, exposes pprof information on localhost:6060.
Copy file name to clipboardExpand all lines: main.go
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -196,8 +196,8 @@ type Options struct {
196
196
// UDP buffer size value
197
197
UDPBufferSizeint`yaml:"udp-buf-size" long:"udp-buf-size" description:"Set the size of the UDP buffer in bytes. A value <= 0 will use the system default."`
198
198
199
-
// The maximum number of go routines
200
-
MaxGoRoutinesint`yaml:"max-go-routines" long:"max-go-routines" description:"Set the maximum number of go routines. A value <= 0 will not not set a maximum."`
199
+
// MaxGoRoutines is the maximum number of goroutines.
200
+
MaxGoRoutinesuint`yaml:"max-go-routines" long:"max-go-routines" description:"Set the maximum number of go routines. A zero value will not not set a maximum."`
201
201
202
202
// Pprof defines whether the pprof information needs to be exposed via
0 commit comments