mirror of
https://github.com/MontFerret/ferret.git
synced 2025-11-23 21:54:45 +02:00
Externalized common timeout values (#371)
* Externalized common timeout values * Updated go.sum
This commit is contained in:
@@ -57,7 +57,7 @@ func waitClassWhen(ctx context.Context, args []core.Value, when drivers.WaitEven
|
||||
return values.None, err
|
||||
}
|
||||
|
||||
timeout := values.NewInt(defaultTimeout)
|
||||
timeout := values.NewInt(drivers.DefaultWaitTimeout)
|
||||
|
||||
// if a document is passed
|
||||
if arg1.Type() == drivers.HTMLPageType || arg1.Type() == drivers.HTMLDocumentType {
|
||||
|
||||
Reference in New Issue
Block a user