Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add the option to specify timeout for commit_check() #998

Merged
merged 4 commits into from
Mar 31, 2020

Conversation

dstamatov
Copy link

commit_check() does not allow to set a different timeout for the rpc other than the default 30s. For some devices this interval is not sufficient and sometimes causes otherwise valid commit check to fail.

@jnpr-community-netdev
Copy link

Can one of the admins verify this patch?

@coveralls
Copy link

coveralls commented Mar 10, 2020

Coverage Status

Coverage decreased (-0.02%) to 94.965% when pulling b21c625 on dstamatov:commit_check_timeout into 035084b on Juniper:master.

Copy link
Contributor

@ntwrkguru ntwrkguru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM...untested

@vnitinv
Copy link
Contributor

vnitinv commented Mar 10, 2020

Just for future reference

We want timeout things to be in sync everywhere. Will be dev_timeout for everything. Right now its dev_timeout for RPC calls and timeout for commit.
We also wanted to rename/link it to rpc_timeout and eventually remove dev_timeout as dev-timeout sounds something like dev connection timeout and not RPC timeout.

Watch out for code update coming in few days or so.

@vnitinv vnitinv merged commit 541b094 into Juniper:master Mar 31, 2020
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.

None yet

5 participants