mirror of
https://github.com/DanielLavrushin/b4.git
synced 2026-07-09 16:00:05 +00:00
fix: update default timeout values for MTProto settings (#270)
Some checks failed
Deploy documentation / build-and-deploy (push) Has been cancelled
Some checks failed
Deploy documentation / build-and-deploy (push) Has been cancelled
This commit is contained in:
parent
dcc0fffa16
commit
7160ee8f06
1 changed files with 2 additions and 2 deletions
|
|
@ -260,7 +260,7 @@ export const MTProtoSettings = ({ config, onChange }: MTProtoSettingsProps) => {
|
|||
/>
|
||||
<B4NumberField
|
||||
label={t("settings.MTProto.tcpUserTimeout")}
|
||||
value={config.system.mtproto?.tcp_user_timeout_sec ?? 120}
|
||||
value={config.system.mtproto?.tcp_user_timeout_sec || 120}
|
||||
onChange={(n) => onChange("system.mtproto.tcp_user_timeout_sec", n)}
|
||||
min={-1}
|
||||
max={86400}
|
||||
|
|
@ -269,7 +269,7 @@ export const MTProtoSettings = ({ config, onChange }: MTProtoSettingsProps) => {
|
|||
/>
|
||||
<B4NumberField
|
||||
label={t("settings.MTProto.idleTimeout")}
|
||||
value={config.system.mtproto?.idle_timeout_sec ?? 300}
|
||||
value={config.system.mtproto?.idle_timeout_sec || 300}
|
||||
onChange={(n) => onChange("system.mtproto.idle_timeout_sec", n)}
|
||||
min={-1}
|
||||
max={86400}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue