change timeouts
This commit is contained in:
parent
3e3fad6d52
commit
a8144b0914
@ -21,7 +21,7 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
taskTimeout = 30 * time.Second
|
||||
taskTimeout = 45 * time.Second
|
||||
minLifetime = taskTimeout
|
||||
maxLifetime = 24 * time.Hour
|
||||
)
|
||||
|
||||
@ -14,11 +14,10 @@ import (
|
||||
|
||||
// Timeouts
|
||||
var (
|
||||
defTimeout = "100ms"
|
||||
defTimeout = "50ms"
|
||||
defOptInText = playwright.LocatorInnerTextOptions{Timeout: pwDuration(defTimeout)}
|
||||
defOptTextCon = playwright.LocatorTextContentOptions{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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user