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.
2 parents 4988166 + cf52ad9 commit deba4b7Copy full SHA for deba4b7
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
- }, 1000);
+ }, 5000);
131
};
132
133
const handleEditorMount = (editor: MonacoEditor.IStandaloneCodeEditor) => {
@@ -181,7 +181,7 @@ const CollaborationEditor = ({ matchId }: CollaborationEditorProps) => {
181
if (providerRef.current?.wsconnected) {
182
updateLocalAwareness();
183
184
- }, 5000);
+ }, 3000);
185
186
return () => {
187
clearInterval(refreshInterval);
0 commit comments