agent-substrate / agent-substrate/substrate
Configurable actor and worker tGPS
- 主要语言
- Go
- 星标
- 1.8k
- 派生
- 316
- 平均合并
- 2 天 43 分钟
- 30 天内合并 PR
- 287
描述
#1560 raised ateom's drain budget after `SIGTERM` from 1 minute to 30 minutes, which is the window an actor has to be suspended before ateom kills it. The worker pod's tGPS is hardcoded as 1 hour today.
Workloads differ. Some actors suspend within seconds, some may run for longer without a proper suspend point. A fixed 30 minutes maybe enough for 99% case but not for outliers, and users have no way to tune either number.
We may consider:
- `ActorTemplate.terminationGracePeriodSeconds`: how long this actor gets after SIGTERM before ateom kills it, with default 30 mins.
- `WorkerPool.template.terminationGracePeriodSeconds`: ceiling grace period for worker pods from this WorkerPool.
贡献指南
评估
这个 Issue 还没有评估数据。