Skip to content

Commit

Permalink
改为websocket断开后,每2分钟连接一次
Browse files Browse the repository at this point in the history
  • Loading branch information
srcrs committed Aug 8, 2023
1 parent 356a66d commit d7ccc72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ <h1>RSS Reader</h1>
};
socket.onclose = event => {
console.log("WebSocket closed. Reconnecting...");
setTimeout(connect, 60000);
setTimeout(connect, 120000);
};
};
connect();
Expand Down

0 comments on commit d7ccc72

Please sign in to comment.