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

feat(*): make timeout flag accept duration strings #598

Merged
merged 5 commits into from
Oct 4, 2024

Conversation

maksadbek
Copy link
Collaborator

@maksadbek maksadbek commented Oct 2, 2024

Make the global --timeout flag to accept duration string. e.g. 10s, 1m, 1h, 1m, 1d

@maksadbek maksadbek added the Type: enhancement New feature or request. label Oct 2, 2024
@maksadbek maksadbek self-assigned this Oct 2, 2024
src/Utils/Helpers.ts Outdated Show resolved Hide resolved
src/Scan/BasePolling.ts Show resolved Hide resolved
src/Config/CliBuilder.ts Outdated Show resolved Hide resolved
src/Config/CliBuilder.ts Outdated Show resolved Hide resolved
src/Utils/Helpers.spec.ts Outdated Show resolved Hide resolved
src/Utils/Helpers.spec.ts Outdated Show resolved Hide resolved
@maksadbek maksadbek requested a review from derevnjuk October 3, 2024 22:04
src/Config/CliBuilder.ts Outdated Show resolved Hide resolved
src/Scan/BasePolling.ts Show resolved Hide resolved
@derevnjuk derevnjuk enabled auto-merge (squash) October 4, 2024 07:46
@derevnjuk derevnjuk changed the base branch from master to next October 4, 2024 07:46
maksadbek and others added 3 commits October 4, 2024 11:47
@derevnjuk derevnjuk force-pushed the feat-timeout-can-be-duration-string branch from 3027e68 to 96e1611 Compare October 4, 2024 07:47
@derevnjuk derevnjuk disabled auto-merge October 4, 2024 07:47
@derevnjuk derevnjuk enabled auto-merge (squash) October 4, 2024 07:47
maksadbek and others added 2 commits October 4, 2024 10:47
Co-authored-by: Artem Derevnjuk <artem.derevnjuk@brightsec.com>
@maksadbek maksadbek requested a review from derevnjuk October 4, 2024 08:52
@derevnjuk derevnjuk merged commit 1ae8304 into next Oct 4, 2024
6 checks passed
@derevnjuk derevnjuk deleted the feat-timeout-can-be-duration-string branch October 4, 2024 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: enhancement New feature or request.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants