change timeouts
This commit is contained in:
parent
6c51d7b24b
commit
f956d883bf
@ -21,7 +21,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
taskTimeout = 30 * time.Second
|
taskTimeout = 45 * time.Second
|
||||||
minLifetime = taskTimeout
|
minLifetime = taskTimeout
|
||||||
maxLifetime = 24 * time.Hour
|
maxLifetime = 24 * time.Hour
|
||||||
)
|
)
|
||||||
|
|||||||
@ -14,11 +14,10 @@ import (
|
|||||||
|
|
||||||
// Timeouts
|
// Timeouts
|
||||||
var (
|
var (
|
||||||
defTimeout = "100ms"
|
defTimeout = "50ms"
|
||||||
defOptInText = playwright.LocatorInnerTextOptions{Timeout: pwDuration(defTimeout)}
|
defOptInText = playwright.LocatorInnerTextOptions{Timeout: pwDuration(defTimeout)}
|
||||||
defOptTextCon = playwright.LocatorTextContentOptions{Timeout: pwDuration(defTimeout)}
|
defOptTextCon = playwright.LocatorTextContentOptions{Timeout: pwDuration(defTimeout)}
|
||||||
defOptAttr = playwright.LocatorGetAttributeOptions{Timeout: pwDuration(defTimeout)}
|
defOptAttr = playwright.LocatorGetAttributeOptions{Timeout: pwDuration(defTimeout)}
|
||||||
defOptEval = playwright.LocatorEvaluateOptions{Timeout: pwDuration(defTimeout)}
|
|
||||||
)
|
)
|
||||||
|
|
||||||
var userAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36"
|
var userAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user