Skip to content

An exception when re-registering a service will not be retried. #62

@cforbes-tw

Description

@cforbes-tw

When a service re-registering an exception in send_register_service_request() will cause the registration to fail and it will not be retried and the timer will not be restarted. As a result the service will no longer be registered.

See:

self.send_register_service_request()
self.ttl_timer = Timer(self.ttl * 60, self._timer_callback)
self.ttl_timer.daemon = True
self.ttl_timer.start()

We occasionally see WaitTimeoutException occur in send_register_service_request() to trigger this problem.

This is a similar but different problem to #34

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions