Skip to content

Commit

Permalink
Merge pull request #191 from CS3219-AY2425S1/fix/cleanup_features
Browse files Browse the repository at this point in the history
shorten handler debounce period
  • Loading branch information
tyouwei authored Nov 13, 2024
2 parents d400d2a + e6a08f6 commit 4988166
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ const CollaborationEditor = ({ matchId }: CollaborationEditorProps) => {
prevClientsRef.current = newClients;
setConnectedClients(newClients);
}
}, 5000); // Debounce for 1 second
}, 1000);
};

const handleEditorMount = (editor: MonacoEditor.IStandaloneCodeEditor) => {
Expand Down

0 comments on commit 4988166

Please sign in to comment.