1
0
mirror of https://github.com/MontFerret/ferret.git synced 2025-07-05 00:49:00 +02:00

Externalized common timeout values (#371)

* Externalized common timeout values

* Updated go.sum
This commit is contained in:
Tim Voronov
2019-09-05 12:17:22 -04:00
committed by GitHub
parent 9b762d32ee
commit 2d645434d8
27 changed files with 113 additions and 107 deletions

View File

@ -34,7 +34,7 @@ func Navigate(ctx context.Context, args ...core.Value) (core.Value, error) {
return values.None, err
}
timeout := values.NewInt(defaultTimeout)
timeout := values.NewInt(drivers.DefaultWaitTimeout)
if len(args) > 2 {
err = core.ValidateType(args[2], types.Int)