mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
Add INIT_PLUGIN_TIMEOUT env (#8840)
This commit is contained in:
parent
21af52560a
commit
aac2e51fc7
@ -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')
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user