Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subscription notification message once successfully subscribed #104

Merged
merged 3 commits into from
Jan 29, 2018

Conversation

slashdotdash
Copy link
Member

Once the subscription has successfully subscribed to the stream it will send the subscriber a {:subscribed, subscription} message.

This indicates the subscription succeeded and you will begin receiving events.

Once the subscription has successfully subscribed to the stream it will send the subscriber a `{:subscribed, subscription}` message.

This indicates the subscription succeeded and you will begin receiving events.
…e lock

Connection will be opened for each subscribe request. This reduces the number of permanently open connections to the database.

To subscribe to a stream a database connection is opened and an attempt to acquire exclusive access to the subscription is made. On success, the connection remains open for ack's, but on failure it is immediately closed.
@slashdotdash slashdotdash merged commit 97ea424 into master Jan 29, 2018
@slashdotdash slashdotdash deleted the feature/subscription-subscribed branch January 29, 2018 22:15
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