Skip to content

armgit / orca

Public Imported from GitHub
0

Orca is the place for working with a fleet of agents (e.g. Grok Bot, Claude Code). Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.

783 B
Raw Blame
export const RELAY_PROTOCOL_LIMITS = {
  firstFrameDeadlineMs: 2_000,
  maxHttpBodyBytes: 4 * 1024,
  // Opaque E2EE catalogs exceed 1MiB on large workspaces; oversized frames kill every reconnect.
  // 8MiB adds headroom until desktop catalog pagination bounds responses.
  maxFrameBytes: 8 * 1024 * 1024,
  maxConnectionsPerHost: 8,
  idleTimeoutMs: 10 * 60 * 1000,
  inviteTtlMs: 10 * 60 * 1000,
  inviteMaxAttempts: 5,
  inviteReservationLeaseMs: 15 * 1000,
  inviteAttemptCooldownMs: 2 * 1000,
  hostAttachDeadlineMs: 10 * 1000,
  resumeConfirmationDeadlineMs: 30 * 1000,
  resumeTtlMs: 30 * 24 * 60 * 60 * 1000,
  relayTokenTtlMs: 5 * 60 * 1000,
  expiredAuthExistingSpliceGraceMs: 60 * 1000,
  controlPingIntervalMs: 15 * 1000,
  controlSilenceTimeoutMs: 75 * 1000
} as const