Merge pull request #169 from gabriel-samfira/fix-pool-manager-start

Fix garm pool manager startup
This commit is contained in:
Gabriel 2023-08-25 12:04:14 +03:00 committed by GitHub
commit b44f04be5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1374,7 +1374,7 @@ func (r *basePoolManager) cleanupOrphanedRunners() error {
}
func (r *basePoolManager) Start() error {
r.updateTools() //nolint
go r.updateTools() //nolint
go r.startLoopForFunction(r.runnerCleanup, common.PoolReapTimeoutInterval, "timeout_reaper", false)
go r.startLoopForFunction(r.scaleDown, common.PoolScaleDownInterval, "scale_down", false)