getappmap / appmap-intellij-plugin

MIT License
38 stars 9 forks source link

Avoid exception about slow operation when loading OpenAI key #775

Closed jansorg closed 3 months ago

jansorg commented 3 months ago

Closes https://github.com/getappmap/appmap-intellij-plugin/issues/773

In 2024.2+ the method to load a key from secure password storage is a slow operation and causes an exception. This PR applies the changes to load the key in a background task to avoid the exception. The key is cached in memory after it's been retrieved from secure storage to avoid the expensive call at runtime.

appland-release commented 3 months ago

:tada: This issue has been resolved in version 0.73.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: