MCPcopy Index your code
hub / github.com/easydiffusion/easydiffusion / keep_task_alive

Function keep_task_alive

ui/easydiffusion/task_manager.py:197–199  ·  view source on GitHub ↗
(task: Task)

Source from the content-addressed store, hash-verified

195
196
197def keep_task_alive(task: Task):
198 task_cache.keep(task.id, TASK_TTL)
199 session_cache.keep(task.session_id, TASK_TTL)
200
201
202def thread_get_next_task():

Callers 1

thread_renderFunction · 0.85

Calls 1

keepMethod · 0.80

Tested by

no test coverage detected