Skip to content
Snippets Groups Projects
Commit 76c7ef76 authored by Benjamin Bertrand's avatar Benjamin Bertrand
Browse files

Fix inconsistent elements after server restart

Elements for the Pool were cached on the first read.
If a client is reading this attribute during server startup, the list returned might be incomplete.
As it's cached, it will remain incomplete.
This can easily happen if the Pool is restarted while the MacroServer is still running,
or another GUI is polling Elements.

The value should only be cached when the server is running to avoid this issue.

Initial issue was for the Pool, but same thing applies for the MacroServer.

Fix #113
parent b5d6fdc8
No related branches found
No related tags found
1 merge request!2039Fix inconsistent elements after server restart
Pipeline #1582420344 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment