orakl
orakl copied to clipboard
Migrate listener observed block from redis to db
Description
Implement nodemon for having hot reload running services (listener, worker, reporter):
- Note: hot reload in this case means recompile and restart the service
Migrate listener observed block from redis to db:
- write migrate up & down sql files for a new table to keep track of observed block
- write query, controller function, and add route in api/listener
- write wrapper api function in core/listener
- integrate wrapper api into listener code (replace with redis logic)
- test
Fixes # (issue)
Type of change
Please delete options that are not relevant.
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] This change requires a documentation update
Checklist before requesting a review
- [x] I have performed a self-review of my code.
- [ ] If it is a core feature, I have added thorough tests.
Deployment
- [ ] Should publish npm package
- [x] Should publish Docker image