Skip to content

Commit

Permalink
Update src/fluent/watch.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
cmwylie19 authored Aug 21, 2024
1 parent b8e9998 commit 46d6ebe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fluent/watch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ export class Watcher<T extends GenericClass> {
// Make the actual request
const response = await fetch(url, { ...opts });
response.body.on("socket", socket => {
socket.setKeepAlive(true, 1000);
socket.setKeepAlive(true, 30 * 1000);
});

// Reset the pending reconnect flag
Expand Down

0 comments on commit 46d6ebe

Please sign in to comment.