Add storage API abstraction

This commit is contained in:
Jonathan Leibiusky @xetorthio
2017-06-22 09:16:49 -03:00
committed by Marcos Lilljedahl
19 changed files with 277 additions and 83 deletions

View File

@@ -33,7 +33,7 @@ type scheduler struct {
}
func (sch *scheduler) Schedule(s *types.Session) {
if s.IsPrepared() {
if isSessionPrepared(s.Id) {
return
}