engine icon indicating copy to clipboard operation
engine copied to clipboard

Handling CS Start if Redis not present

Open farhanW3 opened this issue 9 months ago • 0 comments

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 the 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 log a warning if Redis is not available

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

farhanW3 avatar May 17 '24 18:05 farhanW3