-
Notifications
You must be signed in to change notification settings - Fork 272
fix(amazonq): reduce log spam and frequency of token updates #5713
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
We do not need to update tokens every 10s Additionally, if we provide the connection metadata in the token update request, then we reduce overall RPC calls
Qodana Community for JVMIt seems all right 👌 No new problems were found according to the checks applied 💡 Qodana analysis was run in the pull request mode: only the changed files were checked Contact Qodana teamContact us at [email protected]
|
...c/software/aws/toolkits/jetbrains/services/amazonq/lsp/auth/DefaultAuthCredentialsService.kt
Fixed
Show fixed
Hide fixed
...c/software/aws/toolkits/jetbrains/services/amazonq/lsp/auth/DefaultAuthCredentialsService.kt
Fixed
Show fixed
Hide fixed
...c/software/aws/toolkits/jetbrains/services/amazonq/lsp/auth/DefaultAuthCredentialsService.kt
Fixed
Show fixed
Hide fixed
…en-auth-noise Conflicts: plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/lsp/auth/DefaultAuthCredentialsService.kt
section = "aws.q", | ||
settings = mapOf( | ||
"profileArn" to QRegionProfileManager.getInstance().activeProfile(project)?.arn | ||
"profileArn" to "invalidinvalidinvalid" |
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.
revert
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.
imao
…en-auth-noise Conflicts: plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/lsp/AmazonQLanguageClientImpl.kt
We do not need to update tokens every 10s
Additionally, if we provide the connection metadata in the token update request, then we reduce overall RPC calls
License
I confirm that my contribution is made under the terms of the Apache 2.0 license.