refactor scheduler.go
Merge branch 'aging' of github.com:yifan-gu/a-scheduler-proto into aging