mirror of
https://github.com/taroved/pol
synced 2025-05-16 14:20:10 -07:00
mon fix
This commit is contained in:
parent
6e5cb836cd
commit
ddd9a79f22
@ -192,7 +192,7 @@ from pympler import tracker
|
|||||||
import gc
|
import gc
|
||||||
|
|
||||||
tr = tracker.SummaryTracker()
|
tr = tracker.SummaryTracker()
|
||||||
MON_PERIOD_SECONDS = 1 * 60 * 60 # 1 hours
|
MON_PERIOD_SECONDS = 10 * 60 # 1 hours
|
||||||
mon_time = None
|
mon_time = None
|
||||||
def mon(none):
|
def mon(none):
|
||||||
global mon_time
|
global mon_time
|
||||||
@ -204,7 +204,7 @@ def mon(none):
|
|||||||
global tr
|
global tr
|
||||||
for line in tr.format_diff():
|
for line in tr.format_diff():
|
||||||
log.info(line)
|
log.info(line)
|
||||||
mon_time = tm
|
mon_time = tm
|
||||||
|
|
||||||
def run_pgc():
|
def run_pgc():
|
||||||
d = defer.Deferred()
|
d = defer.Deferred()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user