Skip to content

Commit

Permalink
fix: max timer
Browse files Browse the repository at this point in the history
iqeq1945 committed Dec 20, 2024
1 parent 7f91376 commit fcdc3e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/socket/socket.gateway.ts
Original file line number Diff line number Diff line change
@@ -1222,7 +1222,7 @@ export class SocketGateway
// ping
@SubscribeMessage('cloud.ping')
handleCloudPing(@MessageBody() roomId: string) {
let time = 60;
let time = 45;
const timeId = setInterval(() => {
this.server.to(roomId).emit('cloud.ping');
time--;

0 comments on commit fcdc3e3

Please sign in to comment.