Skip to content

Commit

Permalink
update with a note regarding multiple apps using same redis db
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelolx committed Oct 5, 2022
1 parent 9bd530f commit 433783e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,8 @@ See https://github.com/sidekiq-scheduler/sidekiq-scheduler/issues/361 for a more

## Notes when running multiple applications in the same Redis database

_NOTE_: **Although we support this option, we recommend having separate redis databases for each application. Choosing this option is at your own risk.**

If you need to run multiple applications with differing schedules, the easiest way is to use a different Redis database per application. Doing that will ensure that each application will have its own schedule, web interface and statistics.

However, you may want to have a set of related applications share the same Redis database in order to aggregate statistics and manage them all in a single web interface. To do this while maintaining a different schedule for each application, you can configure each application to use a different `key_prefix` in Redis. This prevents the applications overwriting each others' schedules and schedule data.
Expand Down

0 comments on commit 433783e

Please sign in to comment.