Skip to content

Python API doesn't expose OlaClient's close_callback #2031

Description

@rbalykov

systemctl restart olad - crashes python client.
this workaround does fine:

class PatchedClientWrapper(ClientWrapper):
def init(self, socket=None, close_callback=None):
self._ss = SelectServer()
self._client = OlaClient(our_socket=None, close_callback=_on_olad_socket_close)
self._ss.AddReadDescriptor(
self._client.GetSocket(),
self._client.SocketReady
)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions