Skip to content

Commit

Permalink
fix: adjust timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Dec 1, 2023
1 parent 6ce9a0f commit 07caa86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import { ClientCapabilities, CompanionClient, DeviceDrawProps, DeviceRegisterPro
import { DEFAULT_PORT } from './lib'
import * as semver from 'semver'

const PING_UNACKED_LIMIT = 5 // Arbitrary number
const PING_IDLE_TIMEOUT = 500 // Pings are allowed to be late if another packet has been received recently
const PING_UNACKED_LIMIT = 15 // Arbitrary number
const PING_IDLE_TIMEOUT = 1000 // Pings are allowed to be late if another packet has been received recently
const PING_INTERVAL = 100
const RECONNECT_DELAY = 1000

Expand Down

0 comments on commit 07caa86

Please sign in to comment.