-
Notifications
You must be signed in to change notification settings - Fork 2.8k
docs: Add details for automatic syncing of debug.yaml #9604
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
Conversation
Signed-off-by: revolyssup <ashishjaitiwari15112000@gmail.com>
|
@kayx23 Please review |
Signed-off-by: revolyssup <ashishjaitiwari15112000@gmail.com>
This reverts commit 6d36616.
docs/en/latest/debug-mode.md
Outdated
| basic: | ||
| enable: true | ||
| ``` | ||
| APISIX syncs the configuration passed in debug.yaml on startup and then checks if the file was modified on an interval of 1 second. If the file is changed, then it resyncs the debug configuration so that users don't have to reload for the debug configuration to take effect. |
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.
| APISIX syncs the configuration passed in debug.yaml on startup and then checks if the file was modified on an interval of 1 second. If the file is changed, then it resyncs the debug configuration so that users don't have to reload for the debug configuration to take effect. | |
| APISIX loads the configurations of `debug.yaml` on startup and then checks if the file is modified on an interval of 1 second. If the file is changed, APISIX automatically applies the configuration changes. |
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.
@Revolyssup could you help confirm in code if:
- 1 second is the default
- 1 second could be modified by config under
/conf(or is it hardcoded)
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.
Co-authored-by: Traky Deng <trakydeng@gmail.com>
|
@kayx23 Committed your suggestions. |
there's a comment too, please check |
Signed-off-by: revolyssup <ashishjaitiwari15112000@gmail.com>
Description
Fixes #9598
Checklist