[Python-Dev] Buildbot - "slave lost"
"Martin v. Löwis"
martin at v.loewis.de
Wed Jan 1 23:17:21 CET 2014
Am 31.12.13 01:24, schrieb Chris Angelico:
> Does Buildbot retain a constant TCP socket to its server?
In short: yes. A little bit longer: It uses the Twisted
PerspectiveBroker protocol. That has nearly-transparent
reconnects (but as your case shows, not fully transparent),
and does regular ping messages to keep the connection
So it should be able to handle a failover from one link to
the other, but it's certainly better to bind it to the more
reliable transport. I believe you can somehow configure the
frequency of ping messages so that you network doesn't believe
the connection goes idle, plus it will attempt a reconnect
if the network did indeed cancel the connection.
If you wanted to study this further, you could look into the
slave's twisted log file.
More information about the Python-Dev