When switching topics with the same binary/database combination it would be ideal if I could share the same database and start/stop the server switching topics without the alerts being munged together.
We should include the topic name in the database table name to prevent collisions.
How can we reproduce this?
Run this:
$ ALERT_SYSTEM_ENVIRONMENT=testnet ./alert-system
# stop the server
$ ALERT_SYSTEM_ENVIRONMENT=stn ./alert-system
Server will just assume all alerts in the database are valid for this topic and environment if the keys are the same.
Search
[X] I did search for other open and closed issues before opening this.
Code of Conduct
[X] I agree to follow this project's Code of Conduct
What happened?
When switching topics with the same binary/database combination it would be ideal if I could share the same database and start/stop the server switching topics without the alerts being munged together.
We should include the topic name in the database table name to prevent collisions.
How can we reproduce this?
Run this:
Server will just assume all alerts in the database are valid for this topic and environment if the keys are the same.
Search
Code of Conduct
Additional context
No response