mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-08 20:07:51 +00:00
Merge pull request #1786 from jaffee/remove-client-timeout
revert client Timeout addition
This commit is contained in:
commit
506e9a2db7
1 changed files with 1 additions and 9 deletions
|
|
@ -1504,15 +1504,7 @@ func GetHTTPClient(t *tls.Config) *http.Client {
|
|||
if t != nil {
|
||||
transport.TLSClientConfig = t
|
||||
}
|
||||
return &http.Client{
|
||||
Transport: transport,
|
||||
// Internal queries will time out after 2h 7m by default. This is
|
||||
// reduced from the old default of no timeout, so it was thought we
|
||||
// should keep it fairly high, but it could probably be reduced in most
|
||||
// cases. It is set to an odd number in the hopes that it will be
|
||||
// recognizable in stats/traces/logs when this limit is being hit.
|
||||
Timeout: 127 * time.Minute,
|
||||
}
|
||||
return &http.Client{Transport: transport}
|
||||
}
|
||||
|
||||
// handlPostRoaringImport
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue