attempt to fix leak

This commit is contained in:
Keagan McClelland
2022-07-11 15:02:20 -06:00
parent 25769d05d1
commit ac97f28258

View File

@@ -139,7 +139,7 @@ tickleMAU = do
fetchCompatiblePkgVersions :: Maybe VersionRange -> PkgId -> Handler [VersionRecord]
fetchCompatiblePkgVersions osVersion pkg = do
appConnPool <- appConnPool <$> getYesod
versionRecords <- runDB $ fetchAllPkgVersions appConnPool pkg
versionRecords <- fetchAllPkgVersions appConnPool pkg
pure $ filter (osPredicate osVersion . versionRecordOsVersion) versionRecords
where
osPredicate osV = do