add LOGIN_TIMEOUT (180s) for PW, but prompts still wait forever

This commit is contained in:
Ralf Vogler 2023-02-21 21:21:55 +01:00
parent 704c4b01e1
commit 8c2ac3b6d0
7 changed files with 16 additions and 13 deletions

View file

@ -12,6 +12,7 @@ export const cfg = {
width: Number(process.env.WIDTH) || 1280, // width 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
login_timeout: (Number(process.env.LOGIN_TIMEOUT) || 180) * 1000, // higher 3min timeout for login
novnc_port: process.env.NOVNC_PORT, // running in docker if set
notify: process.env.NOTIFY, // apprise notification services
get dir() { // avoids ReferenceError: Cannot access 'dataDir' before initialization