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

v0.7.0 #215

Merged
merged 2 commits into from
May 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
## HEAD (unreleased)
- Improve message when Terminate on Timeout is used on a platform that does not support it (eg. Windows or JVM)
- Honor an `X-Request-Start` header with the `t=<microseconds>` format, to allow using `wait_timeout` functionality with Apache
## 0.7.0

- Honor an `X-Request-Start` header with the `t=<microseconds>` format, to allow using `wait_timeout` functionality with Apache (https://github.com/zombocom/rack-timeout/pull/210)
- Improve message when Terminate on Timeout is used on a platform that does not support it (eg. Windows or JVM) (https://github.com/zombocom/rack-timeout/pull/192)
- Fix a thread safety issue for forks that are not on the main thread (https://github.com/zombocom/rack-timeout/pull/212)
- Add compatibility with frozen_string_literal: true (https://github.com/zombocom/rack-timeout/pull/196)
- Fix if Rails is defined but Rails::VERSION is not defined (https://github.com/zombocom/rack-timeout/pull/191)

## 0.6.3

Expand Down
8 changes: 4 additions & 4 deletions doc/settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ The way we're able to infer a request's start time, and from that its wait time,

Compatible header string formats are:

- `seconds.milliseconds`, e.g. `1700173924.763` - 10.3 digits, nginx standard format
- `t=seconds.milliseconds`, e.g. `t=1700173924.763` - 10.3 digits, nginx standard format with [New Relic recommended][new-relic-recommended-format] `t=` prefix
- `milliseconds`, e.g. `1700173924763` - 13 digits, Heroku standard format
- `t=microseconds`, e.g. `t=1700173924763384` - 16 digits with `t=` prefix, Apache standard format
- `seconds.milliseconds`, e.g. `1700173924.763` - 10.3 digits (nginx format)
- `t=seconds.milliseconds`, e.g. `t=1700173924.763` - 10.3 digits, nginx format with [New Relic recommended][new-relic-recommended-format] `t=` prefix
- `milliseconds`, e.g. `1700173924763` - 13 digits (Heroku format)
- `t=microseconds`, e.g. `t=1700173924763384` - 16 digits with `t=` prefix (Apache format)

[new-relic-recommended-format]: https://docs.newrelic.com/docs/apm/applications-menu/features/request-queue-server-configuration-examples/

Expand Down
2 changes: 1 addition & 1 deletion rack-timeout.gemspec
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
RACK_TIMEOUT_VERSION = "0.6.3"
RACK_TIMEOUT_VERSION = "0.7.0"

Gem::Specification.new do |spec|
spec.name = "rack-timeout"
Expand Down
Loading