Set the interval when documents are saved.