feat(worker): replace aggregate asynq concurrency with per-pool governance
Split the monolithic upstream worker budget into explicit core, post-process, enrichment, maintenance, and shared elastic pools, expose live cluster capacity on the runtime dashboard, and retire the legacy asynq.concurrency setting.
This commit is contained in:
@@ -126,6 +126,12 @@ func (f fakeTaskInspector) QueueStats(
|
||||
return nil, false, nil
|
||||
}
|
||||
|
||||
func (f fakeTaskInspector) WorkerServerStats(
|
||||
_ context.Context,
|
||||
) ([]types.WorkerServerStat, bool, error) {
|
||||
return nil, false, nil
|
||||
}
|
||||
|
||||
func newHousekeepingSvcForTest(db *gorm.DB) *HousekeepingService {
|
||||
return newHousekeepingSvcWithInspector(db, fakeTaskInspector{})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user