Add set_post_interval to set commit interval