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

Duration stop action #135

Merged
merged 5 commits into from
Oct 23, 2019
Merged

Duration stop action #135

merged 5 commits into from
Oct 23, 2019

Conversation

bojand
Copy link
Owner

@bojand bojand commented Oct 23, 2019

Addresses #121 .

Adds duration-stop option that specifies how to handle in-flight requests when duration specified using duration option is reached. Options are close, wait, and ignore. close will cause the connections to close immediately, and any requests that have yet to complete will likely error out and be reported with transport is closing error. wait will make all active requests to be completed and reported. These requests still have the regular request timeout constraint. Finally, ignore option is similar to close that the connections are terminated immediately, however any in-flight requests that complete are completely ignored in the reporting.

@bojand bojand merged commit f65fd0e into master Oct 23, 2019
@bojand bojand deleted the duration_stop_action branch October 23, 2019 13:21
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