Make sync_interval configurable