fix: don't allow set active_n to negative int

This commit is contained in:
zhongwencool 2024-06-12 15:22:56 +08:00
parent 825bfe4717
commit 623845d07d
1 changed files with 1 additions and 1 deletions

View File

@ -965,7 +965,7 @@ fields("tcp_opts") ->
[
{"active_n",
sc(
integer(),
non_neg_integer(),
#{
default => 100,
desc => ?DESC(fields_tcp_opts_active_n)