feat: log schema cache load time
This commit is contained in:
committed by
Steve Chavez
parent
1a141c19df
commit
3a3601cbeb
@@ -310,7 +310,8 @@ loadSchemaCache appState observer = do
|
||||
Right sCache -> do
|
||||
putSchemaCache appState $ Just sCache
|
||||
observer $ SchemaCacheQueriedObs resultTime
|
||||
observer $ SchemaCacheLoadedObs sCache
|
||||
(t, _) <- timeItT $ observer $ SchemaCacheSummaryObs sCache
|
||||
observer $ SchemaCacheLoadedObs t
|
||||
return SCLoaded
|
||||
|
||||
-- | Current database connection status data ConnectionStatus
|
||||
|
||||
Reference in New Issue
Block a user