[ngrams] use saveNodeStoryImmediate, fix ordering with insertNgrams

parent 20e08529
Pipeline #4196 passed with stages
in 118 minutes and 57 seconds
......@@ -349,11 +349,11 @@ commitStatePatch listId (Versioned _p_version p) = do
pure (newNs', snd newNs)
-- NOTE State (i.e. `NodeStory` can be saved asynchronously, i.e. with debounce)
saveNodeStory
--saveNodeStoryImmediate
-- Save new ngrams
_ <- insertNgrams (newNgramsFromNgramsStatePatch p)
-- NOTE State (i.e. `NodeStory` can be saved asynchronously, i.e. with debounce)
-- saveNodeStory
saveNodeStoryImmediate
pure vq'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment