We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3439131 commit 4a7e35eCopy full SHA for 4a7e35e
hls-graph/src/Development/IDE/Graph/Internal/Database.hs
@@ -57,6 +57,8 @@ incDatabase :: Database -> Maybe [Key] -> IO ()
57
incDatabase db (Just kk) = do
58
atomicallyNamed "incDatabase" $ modifyTVar' (databaseStep db) $ \(Step i) -> Step $ i + 1
59
transitiveDirtyKeys <- transitiveDirtySet db kk
60
+ -- kick off the computation for the dirty keys
61
+ _res <- runAIO $ builder db emptyStack (toListKeySet transitiveDirtyKeys)
62
for_ (toListKeySet transitiveDirtyKeys) $ \k ->
63
-- Updating all the keys atomically is not necessary
64
-- since we assume that no build is mutating the db.
0 commit comments