Merge "[zmq] Matchmaker redis available time"
This commit is contained in:
commit
92f7bf04a8
@ -346,7 +346,7 @@ class MatchmakerRedisAvailabilityUpdater(zmq_updater.UpdaterBase):
|
|||||||
# reading from
|
# reading from
|
||||||
redis_instance._is_available = True
|
redis_instance._is_available = True
|
||||||
redis_instance._ready_from = time.time() + \
|
redis_instance._ready_from = time.time() + \
|
||||||
self.conf.oslo_messaging_zmq.zmq_target_update
|
self.conf.oslo_messaging_zmq.zmq_target_expire
|
||||||
else:
|
else:
|
||||||
fraction_of_available_instances += 1
|
fraction_of_available_instances += 1
|
||||||
fraction_of_available_instances /= \
|
fraction_of_available_instances /= \
|
||||||
|
Loading…
Reference in New Issue
Block a user