feat: reduce preview debounce timer (#55561)

This commit is contained in:
Oliver Eyton-Williams
2024-07-25 09:22:50 +02:00
committed by GitHub
parent da7719f22d
commit 1a4e2c593f
@@ -255,7 +255,9 @@ export function* previewChallengeSaga(action) {
yield put(initLogs());
yield put(initConsole(''));
}
yield delay(700);
// long enough so that holding down a key will only send one request, but not
// so long that it feels unresponsive
yield delay(30);
const logProxy = yield channel();
const proxyLogger = args => logProxy.put(args);