Commit immediately except in production