mickhansen / dataloader-sequelize

Batching and simplification of Sequelize with facebook/dataloader
MIT License
284 stars 58 forks source link

How to verify it is working? #119

Closed RoelRoel closed 3 years ago

RoelRoel commented 3 years ago

I have passed the options object to all the findByPk invocations and added the code to prime data when getting a list. How do I validate that it is getting its data from cache if possible from now on?

I still see a lot of duplicate queries in the logging.

mickhansen commented 3 years ago

If you see duplicate queries in a controlled environment then it is likely not working.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.