Skip to content

Feature/drafts load flag - #679

Open
edeustace wants to merge 3 commits into
developfrom
feature/drafts-load-flag
Open

Feature/drafts load flag#679
edeustace wants to merge 3 commits into
developfrom
feature/drafts-load-flag

Conversation

@edeustace

@edeustace edeustace commented Jul 12, 2017

Copy link
Copy Markdown
Member

when querying for item drafts use the expires constraint so that we only load drafts whose expires date is in the future.

This feature can be disabled by setting the env var: LOAD_EXPIRED_ITEM_DRAFTS to true. This will return the app to the legacy behavior of not using expires as a query constraint.

The feature flag is only temporary. Once this has run on production and there has been no issues, then remove the flag and default always to using the expires constraint. Once this is in place we can start to clean up the drafts collection.

This feature can be disabled by setting the env var: `LOAD_EXPIRED_ITEM_DRAFTS` to true. This will return the app to the legacy behavior of not using `expires` as a query constraint.

> The feature flag is only temporary. Once this has run on production and there has been no issues, then remove the flag and default always to using the `expires` constraint. Once this is in place we can start to clean up the drafts collection.
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.

1 participant