mirror of https://github.com/langgenius/dify.git
- Add plugin_trigger_providers and plugin_trigger_providers_lock to contexts module - Implement caching mechanism in TriggerManager.get_trigger_provider() method - Cache fetched trigger providers to reduce repeated daemon calls - Use double-check locking pattern for thread-safe cache access This follows the same pattern as ToolManager.get_plugin_provider() to improve performance by avoiding redundant requests to the daemon when accessing trigger providers. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| wrapper.py | ||