Skip to content

Add concept of being able to restore a service without further persistence#18

Open
Chargeuk wants to merge 1 commit intoGREsau:mainfrom
Chargeuk:main
Open

Add concept of being able to restore a service without further persistence#18
Chargeuk wants to merge 1 commit intoGREsau:mainfrom
Chargeuk:main

Conversation

@Chargeuk
Copy link

Add concept of being able to restore a service without further persistence. eg: setting

PERSIST_SQS=0
PERSIST_RESTORE_SQS=1

within the docker-compose.yml will ensure the SQS service will restore it's state on startup but will not write to the disk again. Useful for loading state for tests.
If persistence is enabled for the service then PERSIST_RESTORE will have no effect.

…tance. eg: if PERSIST_SQS=0 and PERSIST_RESTORE_SQS=1 then the SQS service will restore it's state on startup but will not write to the disk again. Useful for loading state for tests.
@wakeless
Copy link

This would work really well for my use case. I've also thought that having a separate API to be able to just manually force persistence would work well for this testing/reload use case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants