diff --git a/peerprep-fe/src/app/collaboration/components/CollaborationEditor.tsx b/peerprep-fe/src/app/collaboration/components/CollaborationEditor.tsx index 2b6e569ff2..93bf7ccb2d 100644 --- a/peerprep-fe/src/app/collaboration/components/CollaborationEditor.tsx +++ b/peerprep-fe/src/app/collaboration/components/CollaborationEditor.tsx @@ -127,7 +127,7 @@ const CollaborationEditor = ({ matchId }: CollaborationEditorProps) => { prevClientsRef.current = newClients; setConnectedClients(newClients); } - }, 5000); // Debounce for 1 second + }, 1000); }; const handleEditorMount = (editor: MonacoEditor.IStandaloneCodeEditor) => {