interval wasn't being passed to AutoPersist
Merge pull request #383 from vevix/master

interval wasn't being passed to AutoPersist