mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 12:00:35 +03:00
set longer timeout for axios request
This commit is contained in:
parent
bf33f97c9e
commit
59ef1f13db
1 changed files with 1 additions and 0 deletions
|
@ -110,6 +110,7 @@ class Monitor extends BeanModel {
|
|||
// Use Custom agent to disable session reuse
|
||||
// https://github.com/nodejs/node/issues/3940
|
||||
let res = await axios.get(this.url, {
|
||||
timeout: 15000,
|
||||
headers: {
|
||||
"User-Agent": "Uptime-Kuma",
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue