Skip to content

Eliminate rpc timeout. Remove --timeout option#2327

Merged
gazpachoking merged 1 commit intodevelopfrom
remove_rpc_timeout
Feb 6, 2019
Merged

Eliminate rpc timeout. Remove --timeout option#2327
gazpachoking merged 1 commit intodevelopfrom
remove_rpc_timeout

Conversation

@gazpachoking
Copy link
Copy Markdown
Member

Motivation for changes:

The timeout on rpc connections put a hard limit on how long a cli client would stay connected to the daemon. It would abort streaming the results back after this timeout was reached (regardless of activity.)

The user should not need to specify --timeout parameter for long running client sessions. The --timeout name was also very non-intuitive as to what it did, how was one to know this was the length of time you would stay connected to daemon?

Detailed changes:

  • Removes --timeout parameter from CLI
  • CLI client connections to daemon may last as long as needed.

Addressed issues:

@gazpachoking
Copy link
Copy Markdown
Member Author

Original change was here, #2268, which was in response to rpyc instating a default 30 second timeout. This PR reverts flexget behavior to that before the rpyc change.

@gazpachoking gazpachoking merged commit 4f15ce2 into develop Feb 6, 2019
@gazpachoking gazpachoking deleted the remove_rpc_timeout branch March 26, 2019 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant