check_memory: getting closer, now we have memusage numbers for uploads of 10kB and 10MB files

This commit is contained in:
Brian Warner
2007-05-29 17:39:39 -07:00
parent 04b649f971
commit ea78b4b605
6 changed files with 174 additions and 43 deletions

View File

@ -62,7 +62,7 @@ class Client(node.Node, Referenceable):
hotline_file = os.path.join(self.basedir,
self.SUICIDE_PREVENTION_HOTLINE_FILE)
if os.path.exists(hotline_file):
hotline = TimerService(5.0, self._check_hotline, hotline_file)
hotline = TimerService(1.0, self._check_hotline, hotline_file)
hotline.setServiceParent(self)
def _check_hotline(self, hotline_file):