thirdweb-dev / engine

The most powerful backend engine for web3 apps.
https://thirdweb.com/engine
Apache License 2.0
143 stars 52 forks source link

Handling CS Start if Redis not present #529

Closed farhanW3 closed 3 months ago

farhanW3 commented 4 months ago

Issue:

If you have CS setup but no redis, it will not run on startup, but if the configuration table values are updated, we catch the update & restart all cron. Thus, we missed this check

Resolution: Updated the place where we check if redis is present in the chainIndexerListener flow.


PR-Codex overview

This PR removes a conditional check for Redis availability before starting the Chain Indexer Listener in the worker module.

Detailed summary

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}