diff --git a/ui/lobby/src/xhr.ts b/ui/lobby/src/xhr.ts index 5c7685ec93..16ad84c461 100644 --- a/ui/lobby/src/xhr.ts +++ b/ui/lobby/src/xhr.ts @@ -1,7 +1,8 @@ import * as xhr from 'common/xhr'; +import throttle from 'common/throttle'; import { Pool } from './interfaces'; -export const seeks = () => xhr.json('/lobby/seeks'); +export const seeks = throttle(2000, () => xhr.json('/lobby/seeks')); export const nowPlaying = () => xhr.json('/account/now-playing').then(o => o.nowPlaying);