mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
feat: reduce preview debounce timer (#55561)
This commit is contained in:
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);
|
||||
|
||||
Reference in New Issue
Block a user