Add wait_for_compactions checkbox on frontend