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:
@ -76,7 +76,7 @@ func newDefaultDocLoadParams(url values.String) PageLoadParams {
|
||||
Params: drivers.Params{
|
||||
URL: url.String(),
|
||||
},
|
||||
Timeout: time.Second * 30,
|
||||
Timeout: drivers.DefaultPageLoadTimeout * time.Millisecond,
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user