Skip to content

[BUG]: Make websocket connection timeout configurable #5332

@maxammann

Description

@maxammann

Describe the bug

The Zoo cli uses the kcl-lib to connect to server infrastructure. For very long tasks it can be relevant to allow a longer timeout than 60 seconds.

The 60s timeout is configured here:

while current_time.elapsed().as_secs() < 60 {

Steps to Reproduce

  1. Do zoo kcl snapshot
  2. Observe that after 60 seconds the timeout is hit.

Expected Behavior

Make the timeout configurable.

Screenshots and Recordings

No response

Desktop OS

Linux

Browser

No response

Version

any

Additional Context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingkclLanguage and compiler features

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions