Log hashfield change time on send

This commit is contained in:
shortcutme 2018-01-19 02:30:52 +01:00
parent c8ac4c0278
commit ea1cd63929
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -1107,7 +1107,8 @@ class Site(object):
if sent >= limit:
break
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
# Update hashfield