Files
a01646f56b3074df0756af4147fa8c5f5735681a
ironic-python-agent /ironic_python_agent
Jay Faulkner a01646f56b Simplify heartbeating by removing use of select()
Heartbeating in IPA has used select.poll() for years to workaround
a bug where changing the time in the ramdisk could cause heartbeats
to stop and never resume.
Now that IPA syncs time at start and exit, this workaround is no
longer needed. So instead, we'll revert to using threading.Event()
in order to make the code simpler and easier to understand.
Since we need this to be an eventlet-event, and not a standard-thread
event, also monkey_patch threading.
Additionally, there were a few completely unused backoff interval
values set, that were never applied. In respect of maintaining the
5+ years old behavior of not doing error backoffs, that code was
removed instead of being made to work.
Change-Id: Ibcde99de64bb7e95d5df63a42a4ca4999f0c4c9b
2020年09月22日 16:59:47 +00:00
..
2020年07月02日 12:18:53 +02:00
2020年08月20日 13:45:47 -07:00
2020年03月31日 08:13:13 -07:00
2020年08月04日 23:32:37 +08:00
2019年06月12日 13:00:21 +00:00
2015年03月31日 16:22:12 -07:00