mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-07-24 07:21:09 -04:00
Should be a final ulitmate fix for request timeout issue (#4045)
* Try to fix timeout again * Ops
This commit is contained in:
parent
40d6a21453
commit
f0975cd929
3 changed files with 9 additions and 1 deletions
|
@ -369,7 +369,7 @@ class Monitor extends BeanModel {
|
|||
|
||||
// Runtime patch timeout if it is 0
|
||||
// See https://github.com/louislam/uptime-kuma/pull/3961#issuecomment-1804149144
|
||||
if (this.timeout <= 0) {
|
||||
if (!this.timeout || this.timeout <= 0) {
|
||||
this.timeout = this.interval * 1000 * 0.8;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue