watcher-ts/packages/util/src
Nabarun Gogoi 90d60f54a6
Improve connection check with peers by retrying ping on failures (#330)
* Improve connection check with peers by retrying ping on failures

* Use DEFAULT_PING_INTERVAL in cli

* Log only error message

* Add config option to pass peer id file path

* Finish retrying pings before connection check interval duration

* Handle duplicate connections to relay nodes

* Increase default max dial retries from one relay to another

* Update connection manager config for relay nodes

* Use debug for logs in relay node

---------

Co-authored-by: prathamesh0 <prathamesh.musale0@gmail.com>
2023-02-27 12:47:49 +05:30
..
graph Implement peer package to send messages between peers (#279) 2023-01-10 20:10:27 +05:30
types/common Accomodate GQL requests caching in code generator (#237) 2022-11-17 12:02:08 +05:30
block-size-cache.ts Fix linter warnings and dependencies (#264) 2022-11-25 20:03:58 +05:30
common.ts Fix job-runner to process missing parent block (#274) 2022-12-13 11:59:55 +05:30
config.ts Improve connection check with peers by retrying ping on failures (#330) 2023-02-27 12:47:49 +05:30
constants.ts Refactor util code to be reused (#241) 2022-11-18 16:29:06 +05:30
database.ts Implement peer package to send messages between peers (#279) 2023-01-10 20:10:27 +05:30
eth.ts Implement peer package to send messages between peers (#279) 2023-01-10 20:10:27 +05:30
events.ts Gracefully shutdown server (#265) 2022-11-28 12:01:28 +05:30
fill.ts Move event watcher to util (#262) 2022-11-25 17:19:37 +05:30
gql-metrics.ts Implement query for multiple entities and nested relation fields in eden-watcher (#166) 2022-09-01 14:17:43 +05:30
index-block.ts Use prefetching of blocks with events in watchers and codegen (#206) 2022-10-20 18:46:56 +05:30
index.ts Refactor graph-node database and move to util (#259) 2022-11-25 15:54:35 +05:30
indexer.ts Accommodate GQL optimizations in codegen (#254) 2022-11-23 17:42:25 +05:30
ipfs.ts Add demo for graph-watcher IPLD statediff and checkpointing 2022-05-06 15:43:45 +05:30
job-queue.ts Refactor util code to be reused (#241) 2022-11-18 16:29:06 +05:30
job-runner.ts Fix job-runner to process missing parent block (#274) 2022-12-13 11:59:55 +05:30
metrics.ts Clear cache of latest entities on event processing error (#201) 2022-10-19 14:26:10 +05:30
misc.ts Refactor graph-node database and move to util (#259) 2022-11-25 15:54:35 +05:30
server.ts Refactor watch-contract CLI to cli package (#245) 2022-11-21 11:47:23 +04:00
state-helper.ts Refactor state creation code (#204) 2022-10-19 15:24:14 +05:30
types.ts Implement peer package to send messages between peers (#279) 2023-01-10 20:10:27 +05:30