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

Remove the ->multi_p(@promises) syntax #70

Merged
merged 1 commit into from Nov 13, 2021

Conversation

Yenya
Copy link
Contributor

@Yenya Yenya commented Nov 11, 2021

See #68 for details.
The problem is that when calling multi_p(@Promises), the promises
are already constructed when entering the multi_p subroutine, and their
commands could already be in flight to Redis, so they can be executed
outside the transaction, before the multi_p can issue the MULTI command
to Redis.

See jhthorsen#68 for details.
The problem is that when calling multi_p(@Promises), the promises
are already constructed when entering the multi_p subroutine, and their
commands could already be in flight to Redis, so they can be executed
outside the transaction, before the multi_p can issue the MULTI command
to Redis.
Copy link
Owner

@jhthorsen jhthorsen left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thank you 👍

@jhthorsen jhthorsen added the bug Something isn't working label Nov 13, 2021
@jhthorsen jhthorsen merged commit c1338cf into jhthorsen:master Nov 13, 2021
jhthorsen pushed a commit that referenced this pull request Nov 20, 2021
 - Add experimental "subscribe" and "psubscribe" events to Mojo::Redis::PubSub
 - Fix examples for set and expire #62
 - Fix handling "psubscribe" response from Redis #63
 - Fix sending database requests after connecting to sentinel server #64
 - Fix only passing on (p)message messages to listen handlers #67
 - Remove experimental write_q() method, and replaced it with write()
 - Remove the ->multi_p(@Promises) syntax #68 #70
   Contributor: Jan "Yenya" Kasprzak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants