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

A couple things #397

Merged
merged 3 commits into from
Apr 10, 2023
Merged

A couple things #397

merged 3 commits into from
Apr 10, 2023

Conversation

levkk
Copy link
Contributor

@levkk levkk commented Apr 10, 2023

  1. Clean up super long lines that were breaking cargo fmt in client.rs and server.rs
  2. Add more specialized errors into errors.rs to make error reporting more straight forward.
  3. Change autoreload from boolean to Option<i64> to actually set autoreload interval. This is a breaking config change.
  4. Keep application_name on the server after it's set to idle; this helps debugging who used the server last, which is very important for visibility and monitoring.
  5. Add .editorconfig.

@levkk levkk requested review from drdrsh and magec April 10, 2023 21:49
@levkk levkk merged commit 692353c into main Apr 10, 2023
@levkk levkk deleted the levkk-fmt-clean-up branch April 10, 2023 21:51
@@ -45,7 +45,7 @@ log_client_connections = false
log_client_disconnections = false

# When set to true, PgCat reloads configs if it detects a change in the config file.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Comment is outdated, maybe specifying also unit? (milliseconds)

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.

2 participants