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

do not set default async API timeout in opengrok-projadm #4536

Merged
merged 2 commits into from
Jan 24, 2024

Conversation

vladak
Copy link
Member

@vladak vladak commented Jan 23, 2024

There should be a way to set indefinite async API timeout for opengrok-projadm to have the ability to wait for the API call completion no matter how long it takes. This is currently not possible (None value is needed for that and there is positive default) and this change fixes that by making it the default which I think makes sense; one rarely wants to let the API result slip away, esp. when doing reindex from scratch (a case of back-to-back index deletion which is done via async API call and project addition).

to allow waiting for the API result indefinitely
@vladak vladak added the tools Python tools label Jan 23, 2024
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jan 23, 2024
@vladak vladak requested a review from kulikjak January 24, 2024 09:18
Copy link
Member

@kulikjak kulikjak left a comment

Choose a reason for hiding this comment

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

+1

@vladak vladak merged commit 42e5204 into oracle:master Jan 24, 2024
9 checks passed
@vladak vladak deleted the tools_projadm_api_timeout_default branch January 24, 2024 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement. tools Python tools
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants