base-org / pessimism

Detect real-time threats and events on OP Stack compatible blockchains
https://base-org.github.io/pessimism/
MIT License
1.54k stars 435 forks source link

Parallelized Node RPC Calls for Health Checking #158

Closed adelowo closed 1 year ago

adelowo commented 1 year ago

Fixes 88

Fixes https://github.com/base-org/pessimism/issues/88

Changes proposed

I have migrated the health checks to make use of sync.WaitGroup. this allows both checks for the L1 and L2 to be run concurrently instead of sequentially.

Screenshots (Optional)

Note to reviewers