mirror of
https://github.com/Start9Labs/registry.git
synced 2026-03-26 10:21:51 +00:00
attempt to fix leak
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user