Allow to configure periodic commits conveniently