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

Function update_render_threads

ui/easydiffusion/app.py:253–259  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

251
252
253def update_render_threads():
254 config = getConfig()
255 render_devices = config.get("render_devices", "auto")
256 active_devices = task_manager.get_devices()["active"].keys()
257
258 log.debug(f"requesting for render_devices: {render_devices}")
259 task_manager.update_render_threads(render_devices, active_devices)
260
261
262def getUIPlugins():

Callers 1

init_render_threadsFunction · 0.70

Calls 2

getConfigFunction · 0.85
getMethod · 0.80

Tested by

no test coverage detected