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

Atomically persit push actions when we persist the event #568

Merged
merged 3 commits into from
Feb 10, 2016

Conversation

erikjohnston
Copy link
Member

No description provided.

@@ -24,8 +24,7 @@


class EventPushActionsStore(SQLBaseStore):
@defer.inlineCallbacks
def set_push_actions_for_event_and_users(self, event, tuples):
def _set_push_actions_for_event_and_users(self, txn, event, tuples):
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe this should have a txn suffix

@NegativeMjark
Copy link
Contributor

LGTM

erikjohnston added a commit that referenced this pull request Feb 10, 2016
	Atomically persit push actions when we persist the event
@erikjohnston erikjohnston merged commit f7ef5c1 into develop Feb 10, 2016
@erikjohnston erikjohnston deleted the erikj/unread_notif branch February 23, 2016 16:43
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