-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] 后台插件支持配置超时时间 #1696
Comments
方案大概实现逻辑创建
支持可配置超时时间的插件在 详细实现逻辑
|
方案更改上述方案中,由于作业组件的超时时间在抽象类中实现,不能获取绑定组件的
|
你想要什么功能
后台插件支持超时参数
为什么需要
部分逻辑,如 Agent 状态查询,Job 操作实际不需要 6 分钟这么久,希望在某些场景,可以通过调小超时参数,提升用户等待体验,提前暴露问题
建议如何实现
范围:Job 相关插件、GetAgentStatusService
apps/backend/components/collections/base.py BaseService -> PollingTimeoutMixin(with polling_timeout in inputs_format)
apps/backend/agent/manager.py 参考 wait 方法,支持传入 polling_timeout
The text was updated successfully, but these errors were encountered: