]> Git — Sourcephile - gargantext.git/commit
[nodeStory] save archive immediately, delay saving of node story state
authorPrzemek Kaminski <pk@intrepidus.pl>
Fri, 16 Dec 2022 12:46:37 +0000 (13:46 +0100)
committerPrzemek Kaminski <pk@intrepidus.pl>
Fri, 16 Dec 2022 12:46:37 +0000 (13:46 +0100)
commitc41ca75bb2745a1912e73a56e9e25d681977c6b7
tree3ee9bc168bb9b224b4f411f7c993580fc3bcf093
parent5efae317803841ca3e029dff7a4aa903fcc7c352
[nodeStory] save archive immediately, delay saving of node story state

We had a conflict here: archive history is used to resolve new
patches. However, they were saved with delay and after that were
cleared. We should save archive immediately and immediately clear it
in mvar so it's ready for new patches.
src/Gargantext/API/Admin/EnvTypes.hs
src/Gargantext/API/Ngrams.hs
src/Gargantext/Core/NodeStory.hs
src/Gargantext/Core/NodeStoryFile.hs