medusa icon indicating copy to clipboard operation
medusa copied to clipboard

cacheService doesn't provide initialization message as mentioned in the Doc

Open blegaut opened this issue 2 years ago • 2 comments

Preliminary Checks

  • [X] This issue is not a duplicate. Before opening a new issue, please search existing issues: https://github.com/medusajs/medusa/issues

Issue Summary

I follow the guideline to install redis event bus and redis cache service. https://docs.medusajs.com/development/cache/modules/redis I can see the following message in the logs: info: Connection to Redis in module 'event-bus-redis' established

But I can't see any message regarding the cache service. (which should be the case according to the doc): Any idea why ? Thank you

How can this issue be resolved?

...

Are you interested in working on this issue?

  • [ ] I would like to fix this issue

blegaut avatar Sep 13 '23 15:09 blegaut

I have the same problem

Douglas-Pontes avatar Oct 04 '23 20:10 Douglas-Pontes

@blegaut You have to provide some ttl value in the options. By default it takes zero and cache is not used. Hence you don't see the log. This should be mentioned in the doc.

tanmay-d-shah avatar May 03 '24 19:05 tanmay-d-shah

Hey, thanks for the report! Since v2 brought a lot of architectural and API changes on the backend, we will be closing this ticket since it no longer applies to our new setup, or the issue has already been fixed. If you are still facing issues with v1, please open a new ticket and we will address it as soon as possible. Thanks! 🙏

sradevski avatar Jul 05 '24 10:07 sradevski