Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
197
def
keep_task_alive(task: Task):
198
task_cache.keep(task.id, TASK_TTL)
199
session_cache.keep(task.session_id, TASK_TTL)
200
201
202
def
thread_get_next_task():
Callers
1
thread_render
Function · 0.85
Calls
1
keep
Method · 0.80
Tested by
no test coverage detected