[Compass-ci] [PATCH compass-ci] service/scheduler: move the service logic to the Sched class