change default TIMEOUT from 20s to 60s, #62
This commit is contained in:
parent
a3892eaafb
commit
21ed2794f4
2 changed files with 2 additions and 1 deletions
|
|
@ -68,6 +68,7 @@ Available options/variables and their default values:
|
||||||
| VNC_PASSWORD | | VNC password for Docker. No password used by default! |
|
| VNC_PASSWORD | | VNC password for Docker. No password used by default! |
|
||||||
| NOTIFY | | Notification services to use (Pushover, Slack, Telegram...), see below. |
|
| NOTIFY | | Notification services to use (Pushover, Slack, Telegram...), see below. |
|
||||||
| BROWSER_DIR | data/browser | Directory for browser profile, e.g. for multiple accounts. |
|
| BROWSER_DIR | data/browser | Directory for browser profile, e.g. for multiple accounts. |
|
||||||
|
| TIMEOUT | 60 | Timeout for any page action. Should be fine even on slow machines. |
|
||||||
| LOGIN_TIMEOUT | 180 | Timeout for login in seconds. Will wait twice (prompt + manual login). |
|
| LOGIN_TIMEOUT | 180 | Timeout for login in seconds. Will wait twice (prompt + manual login). |
|
||||||
| EMAIL | | Default email for any login. |
|
| EMAIL | | Default email for any login. |
|
||||||
| PASSWORD | | Default password for any login. |
|
| PASSWORD | | Default password for any login. |
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ export const cfg = {
|
||||||
get headless() { return !this.debug && !this.show },
|
get headless() { return !this.debug && !this.show },
|
||||||
width: Number(process.env.WIDTH) || 1280, // width of the opened browser
|
width: Number(process.env.WIDTH) || 1280, // width of the opened browser
|
||||||
height: Number(process.env.HEIGHT) || 1280, // height of the opened browser
|
height: Number(process.env.HEIGHT) || 1280, // height of the opened browser
|
||||||
timeout: (Number(process.env.TIMEOUT) || 20) * 1000, // 20s, default for playwright is 30s
|
timeout: (Number(process.env.TIMEOUT) || 60) * 1000, // default timeout for playwright is 30s
|
||||||
login_timeout: (Number(process.env.LOGIN_TIMEOUT) || 180) * 1000, // higher timeout for login, will wait twice: prompt + wait for manual login
|
login_timeout: (Number(process.env.LOGIN_TIMEOUT) || 180) * 1000, // higher timeout for login, will wait twice: prompt + wait for manual login
|
||||||
novnc_port: process.env.NOVNC_PORT, // running in docker if set
|
novnc_port: process.env.NOVNC_PORT, // running in docker if set
|
||||||
notify: process.env.NOTIFY, // apprise notification services
|
notify: process.env.NOTIFY, // apprise notification services
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue