Moved repeat_times to server.