mirror of
https://github.com/MontFerret/ferret.git
synced 2025-07-07 00:56:53 +02:00
Fixed improper math operator used in calculating page load timeout (#319)
This commit is contained in:
@ -105,7 +105,7 @@ func newPageLoadParams(url values.String, arg core.Value) (PageLoadParams, error
|
|||||||
return res, err
|
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"))
|
userAgent, exists := obj.Get(values.NewString("userAgent"))
|
||||||
|
Reference in New Issue
Block a user