Skip to content

🙌 OpenHands: AI-Driven Development

Add INIT_PLUGIN_TIMEOUT env (#8840)

மனோஜ்குமார் பழனிச்சாமிaac2e51fc7ac
diff --git a/openhands/runtime/action_execution_server.py b/openhands/runtime/action_execution_server.py
index 113aff9d77..8567c04639 100644
--- a/openhands/runtime/action_execution_server.py
+++ b/openhands/runtime/action_execution_server.py
@@ -284,7 +284,7 @@ class ActionExecutor:
await wait_all(
(self._init_plugin(plugin) for plugin in self.plugins_to_load),
- timeout=60,
+ timeout=int(os.environ.get('INIT_PLUGIN_TIMEOUT', '120')),
)
logger.debug('All plugins initialized')