1
0
mirror of https://github.com/MontFerret/ferret.git synced 2025-07-05 00:49:00 +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

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"))