mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-13 12:32:59 +02:00
proxy: Set number of file descriptors much higher.
Some users are hitting the 65k limit regularly, so we set the limit to a much higher number.
This commit is contained in:
@@ -391,7 +391,7 @@ if (($proxysettings{'ACTION'} eq $Lang::tr{'save'}) || ($proxysettings{'ACTION'}
|
||||
}
|
||||
}
|
||||
if (!($proxysettings{'FILEDESCRIPTORS'} =~ /^\d+/) ||
|
||||
($proxysettings{'FILEDESCRIPTORS'} < 1) || ($proxysettings{'FILEDESCRIPTORS'} > 65536))
|
||||
($proxysettings{'FILEDESCRIPTORS'} < 1) || ($proxysettings{'FILEDESCRIPTORS'} > 1048576))
|
||||
{
|
||||
$errormessage = $Lang::tr{'proxy errmsg filedescriptors'};
|
||||
goto ERROR;
|
||||
|
||||
Reference in New Issue
Block a user