Make stats interval into config parameter (#830)

5 files changed