MCPcopy Index your code
hub / github.com/HelloZeroNet/ZeroNet / skip

Method skip

src/Worker/Worker.py:152–156  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

150
151 # Skip current task
152 def skip(self):
153 self.manager.log.debug("%s: Force skipping" % self.key)
154 if self.thread:
155 self.thread.kill(exception=Debug.Notify("Worker stopped"))
156 self.start()
157
158 # Force stop the worker
159 def stop(self):

Callers 5

checkTasksMethod · 0.80
browserFunction · 0.80
site_urlFunction · 0.80
tor_managerFunction · 0.80

Calls 1

startMethod · 0.95

Tested by 4

browserFunction · 0.64
site_urlFunction · 0.64
tor_managerFunction · 0.64