mirror of
https://github.com/grassrootseconomics/cic-chain-events.git
synced 2026-05-26 21:06:19 +02:00
hotfix: drain janitor queue, worker pool, js
* fully drain worker queue before reading gap from db * dedicated go routine for head syncer * emit blok, tx index and hash to jetstream
This commit is contained in:
@@ -26,7 +26,7 @@ type Graphql struct {
|
||||
func NewGraphqlFetcher(o GraphqlOpts) Fetch {
|
||||
return &Graphql{
|
||||
httpClient: &http.Client{
|
||||
Timeout: time.Second * 2,
|
||||
Timeout: time.Second * 5,
|
||||
},
|
||||
graphqlEndpoint: o.GraphqlEndpoint,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user