[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: Pinging?
Hi Nick,
tainaron wrote:
> so I wondered, if the path variable is modified, then the stored
> and checked paths maybe differ? Giving it a try, I commented line
> 1262 and now pings are being queued regularly.
Just rap my knuckles, if I'm totally wrong...
Anyway, me touching line 1262 was probably clueless, as the
pinger then seemed to mix up the nodes*, so for now I'm letting
the pinger just run without any modifications...
*) According to the logs, pings were queued for path "A,B" and
immediately after scheduled as "C,D" for the next time.
I left only one log entry in Pinger.py...
===== Beginn =====
@@ -1410,6 +1410,7 @@
when = self.nextPingTime.get((id1,id2))
if when is None:
# No ping scheduled; server must be new to directory.
+ LOG.debug("No ping scheduled; server must be new to directory.")
self._schedulePing((id1,id2),now)
continue
elif when > now: # Not yet.
===== Ende =====
... and will look if it keeps coming. Could you please tell me,
what the expected behavior of the pinger would be? Thanks.
Ciao
Tobias
--
mbox:admin@tainaron