MCPcopy
hub / github.com/benoitc/gunicorn / notify

Method notify

gunicorn/workers/base.py:70–76  ·  view source on GitHub ↗

\ Your worker subclass must arrange to have this method called once every ``self.timeout`` seconds. If you fail in accomplishing this task, the master process will murder your workers.

(self)

Source from the content-addressed store, hash-verified

68 return "<Worker %s>" % self.pid
69
70 def notify(self):
71 """\
72 Your worker subclass must arrange to have this method called
73 once every ``self.timeout`` seconds. If you fail in accomplishing
74 this task, the master process will murder your workers.
75 """
76 self.tmp.notify()
77
78 def run(self):
79 """\

Callers 8

_serveMethod · 0.45
waitMethod · 0.45
run_for_oneMethod · 0.45
run_for_multipleMethod · 0.45
runMethod · 0.45
watchdogMethod · 0.45

Calls

no outgoing calls