Resurrect periodic sync, alarms refactor r=millermedeiros