Log hashfield change time on send
This commit is contained in:
parent
c8ac4c0278
commit
ea1cd63929
1 changed files with 2 additions and 1 deletions
|
@ -1107,7 +1107,8 @@ class Site(object):
|
||||||
if sent >= limit:
|
if sent >= limit:
|
||||||
break
|
break
|
||||||
if sent:
|
if sent:
|
||||||
self.log.debug("Sent my hashfield to %s peers" % sent)
|
my_hashfield_changed = self.content_manager.hashfield.time_changed
|
||||||
|
self.log.debug("Sent my hashfield (chaged %.3fs ago) to %s peers" % (time.time() - my_hashfield_changed, sent))
|
||||||
return sent
|
return sent
|
||||||
|
|
||||||
# Update hashfield
|
# Update hashfield
|
||||||
|
|
Loading…
Reference in a new issue