We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0dc7bac commit e6a08f6Copy full SHA for e6a08f6
peerprep-fe/src/app/collaboration/components/CollaborationEditor.tsx
@@ -127,7 +127,7 @@ const CollaborationEditor = ({ matchId }: CollaborationEditorProps) => {
127
prevClientsRef.current = newClients;
128
setConnectedClients(newClients);
129
}
130
- }, 5000); // Debounce for 1 second
+ }, 1000);
131
};
132
133
const handleEditorMount = (editor: MonacoEditor.IStandaloneCodeEditor) => {
0 commit comments