-
Notifications
You must be signed in to change notification settings - Fork 7
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
redis interface upgrades #367
Conversation
b11473e
to
67aae92
Compare
…-lib into redis-serialize
result = await self.request_futs[request_id] | ||
del self.request_futs[request_id] | ||
return result | ||
self._send_message(message_type, args, expects_response) | ||
|
||
def update_structures_shallow(self, structures): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't this and update_structures_deep
still return a future so they can be awaited? since expects_response = True
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed update_structures_deep, but update_structures_shallow doesn't expect a response according to the plugin_instance implementation, so the fix was to set expects_response=False
Use native message serialization across redis for best performance and reliability
Add flag to SDK session client to return payloads as raw bytes, instead of immediately deserializing