Files
dify/api/core
Harry 27781d6b7e refactor: replace threading with gevent primitives for cooperative scheduling
Updated multiple modules to utilize gevent for concurrency, ensuring compatibility with gevent-based WSGI servers. This includes replacing threading.Thread and threading.Event with gevent.spawn and gevent.event.Event, respectively, to prevent blocking and improve performance during I/O operations.

- Refactored SandboxBuilder, Sandbox, CommandFuture, and DockerDemuxer to use gevent.
- Added detailed docstrings explaining the changes and benefits of using gevent primitives.

This change enhances the responsiveness and efficiency of the application in a gevent environment.
2026-01-28 13:29:53 +08:00
..
2026-01-28 11:42:55 +08:00
2026-01-28 05:20:19 +08:00
2025-09-18 12:49:10 +08:00
2025-10-10 23:41:16 +08:00
2026-01-16 17:01:44 +08:00
2026-01-28 06:43:08 +08:00
2026-01-16 17:01:44 +08:00
2026-01-26 16:57:45 +08:00
2026-01-13 14:13:43 +08:00
2026-01-08 13:17:30 +08:00