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:
parent
2cfd1040a9
commit
84d662c2fc
@ -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"))
|
||||
|
Loading…
x
Reference in New Issue
Block a user