-
Notifications
You must be signed in to change notification settings - Fork 63
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
[#422] Improve the restart_server
function
#423
Conversation
@T1t4m1un the With regard to |
Thank you very much for your patient reply! Please take a look my latest commit🥺 |
Please reverse the |
Thank you for your recognition of me! I'm editing the documentation but have some specific features want to confirm with you. In our current implementation, we only check the config in server section. We won't check whether the host name or TLS config is same as former one in the # provided config same as `getting started`
pgagroal-cli conf set tls on # success, we won't check the config not in server section
pgagroal-cli conf set server.primary.tls on # failed, we do check the config in server `primary` section Thank you for your answer! |
The TLS in the The TLS in the server sections are to support connecting to secure PostgreSQL instances. |
Thank you for your answer! I emphasized it in my documentation. Looking forward to your review~ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems you have always is_same_tls
returning false
.
Sorry for such careless mistake. I've fixed it and add some short comments. I haven't change the return type of
|
No problem, but better test your code before pushing for review.
The idea should be this: the Please, meld all the commits into a single one and force push (or push to another branch) so that we can get the last look at it. |
Implement restart_server function for daemon with conditional restarts and warnings for configuration changes, including TLS updates.
@jesperpedersen PTAL seems fine to me |
Rebased, and merged. Thanks for your contribution ! |
Functionality:
Implement
restart_server
function for daemon with conditional restarts and warnings for configuration changes, including TLS updates.Document:
Test Case Verification: