mirror of
https://github.com/element-hq/synapse.git
synced 2025-03-10 01:46:51 +00:00
Log when starting stats reporting
This commit is contained in:
parent
797691f908
commit
bf32922e5a
1 changed files with 1 additions and 0 deletions
|
@ -688,6 +688,7 @@ def run(hs):
|
||||||
|
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
def phone_stats_home():
|
def phone_stats_home():
|
||||||
|
logger.info("Gathering stats for reporting")
|
||||||
now = int(hs.get_clock().time())
|
now = int(hs.get_clock().time())
|
||||||
uptime = int(now - start_time)
|
uptime = int(now - start_time)
|
||||||
if uptime < 0:
|
if uptime < 0:
|
||||||
|
|
Loading…
Add table
Reference in a new issue