-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[mapdb] Make serialization asynchronous #14900
Conversation
Signed-off-by: Jan N. Klug <[email protected]>
@florian-h05 FYI. |
Signed-off-by: Jan N. Klug <[email protected]>
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.
Works fine now, no more performance issues like described in openhab/openhab-core#3578, thanks 👍
Code LGTM!
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.
Lgtm
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.
LGTM, thank you
* [mapdb] Make serialization asynchronous --------- Signed-off-by: Jan N. Klug <[email protected]> Signed-off-by: Thomas Burri <[email protected]>
* [mapdb] Make serialization asynchronous --------- Signed-off-by: Jan N. Klug <[email protected]> Signed-off-by: Matt Myers <[email protected]>
Fixes #14899
The serialization was done synchronously. Calls to GSON are time-consuming and should therefore be done asynchronously to allow
.store
to return fast.