Skip to content

Conversation

de-sh
Copy link
Contributor

@de-sh de-sh commented Oct 25, 2024

Fixes #XXXX.

Description

The idea behind this PR is to not have multiple copies of the shutdown handler code and as a BREAKING CHANGE it WILL result in all requests to ingest/query/server to be rejected with HTTP 503 status when SIGNAL_RECEIVED is set to true.


This PR has:

  • been tested to ensure log ingestion and log query works.
  • added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
  • added documentation for new or modified features or behaviors.
### actix dependencies
actix-web-httpauth = "0.8"
actix-web = { version = "4.5.1", features = ["rustls-0_22"] }
actix-web = { version = "4.9.0", features = ["rustls-0_22"] }
Copy link
Contributor Author

@de-sh de-sh Oct 25, 2024

Choose a reason for hiding this comment

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

previously from_fn was part of an experimental crate, now it is in main

@de-sh de-sh marked this pull request as ready for review October 25, 2024 06:46
Copy link
Contributor

@nikhilsinhaparseable nikhilsinhaparseable left a comment

Choose a reason for hiding this comment

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

looks good to merge

@nitisht nitisht merged commit d2df652 into parseablehq:main Oct 25, 2024
8 checks passed
@de-sh de-sh deleted the refactor-shutdown branch October 25, 2024 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants