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

Fixed improper math operator used in calculating page load timeout (#319)

This commit is contained in:
Tim Voronov 2019-06-25 15:33:42 -04:00 committed by GitHub
parent 2cfd1040a9
commit 84d662c2fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,7 +105,7 @@ func newPageLoadParams(url values.String, arg core.Value) (PageLoadParams, error
return res, err
}
res.Timeout = time.Duration(timeout.(values.Int)) + time.Millisecond
res.Timeout = time.Duration(timeout.(values.Int)) * time.Millisecond
}
userAgent, exists := obj.Get(values.NewString("userAgent"))