Skip to content

Commit 1610a5c

Browse files
Copilotgermanocaumo
andcommitted
Increase PROCESS_DELAY from 50ms to 200ms to reduce client freeze
Co-authored-by: germanocaumo <2726293+germanocaumo@users.noreply.github.com>
1 parent 28fe056 commit 1610a5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

static/js/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ let globalKey = 0;
77
// queue & timer for throttling:
88
let messageQueue = {}; // { authorId: payload }
99
let processTimer = null;
10-
const PROCESS_DELAY = 50; // 50ms throttle window
10+
const PROCESS_DELAY = 200; // 200ms throttle window
1111

1212
exports.aceInitInnerdocbodyHead = (hookName, args, cb) => {
1313
const url = '../static/plugins/ep_cursortrace/static/css/ace_inner.css';

0 commit comments

Comments
 (0)