Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Move storage functions for push calculations #2913

Merged
merged 1 commit into from
Feb 28, 2018
Merged

Conversation

erikjohnston
Copy link
Member

@erikjohnston erikjohnston commented Feb 27, 2018

This will allow push actions for an event to be calculated on workers.

This will allow push actions for an event to be calculated on workers.
@erikjohnston erikjohnston changed the title Move necessary storage functions to calculate Move storage functions for push calculations Feb 27, 2018
"add_push_actions_to_staging", _add_push_actions_to_staging_txn
)

def remove_push_actions_from_staging(self, event_id):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you going to be using this on the workers? I assumed it would just be for the master.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, we use it if we throw an exception between persisting the push rules and persisting the event.

Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm then

@richvdh richvdh assigned erikjohnston and unassigned richvdh Feb 28, 2018
@erikjohnston erikjohnston merged commit 9cb3a19 into develop Feb 28, 2018
@erikjohnston erikjohnston deleted the erikj/store_push branch March 5, 2018 15:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants