{"push_id":2367217436,"size":1,"distinct_size":1,"ref":"refs/heads/python_3","head":"99af315f32b5e330a2a747c65f91ab98d2e10d1a","before":"edbd550ad4cad040a207c4f05b5f8dbf9c783ba1","commits":[{"sha":"99af315f32b5e330a2a747c65f91ab98d2e10d1a","author":{"name":"Jeremy Barlow","email":"ea5abaca092f501894af69932d3d10c84abd8371@mcafee.com"},"message":"Use service handler lock during register/unregister and test fixes\n\nThis commit adds a lock around the calls in the\nServiceRegistrationHandler which send register and unregister payloads\nto the broker. Previously, without this lock, overlapping\nregister/unregister calls could lead to unregister calls failing to\nperform an unregister. With the addition of the lock, these\noverlapping requests would be processed serially.\n\nIf the ServiceRegistrationHandler unregister call is made before the\nservice is first registered, a successful unregister response is now\nreturned to the caller rather than an exception being thrown. The\nprevious behavior of throwing an exception would result in the client\neventually encountering a timeout error.\n\nThis commit also contains a number of changes to the tests in the\nregister_service_tests module. The changes include string/bytes handling\nof payloads for Python 3 compatibility and the removal of some race\nconditions which led to intermittent failures - both on Python 2 and 3.","distinct":true,"url":"https://api.github.com/repos/jbarlow-mcafee/opendxl-client-python/commits/99af315f32b5e330a2a747c65f91ab98d2e10d1a"}]}
{"actor":{"display_login":"jbarlow-mcafee"}}