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
Removed conditional check for Redis availability before starting Chain Indexer Listener
Updated chainIndexerListener.ts to always check for Redis before starting the listener
✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}
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 checkResolution: Updated the place where we check if
redis
is present in thechainIndexerListener
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
chainIndexerListener.ts
to always check for Redis before starting the listener