Skip to content

Commit

Permalink
Merge pull request #312 from fpco/311-less-snapshots
Browse files Browse the repository at this point in the history
Try showing less snapshots #311
  • Loading branch information
snoyberg authored Jul 14, 2022
2 parents e37596e + add86d4 commit 041255c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Runtime image

on:
push:
branches: [master, bench]
branches: [master, bench, 311-less-snapshots]

jobs:
push:
Expand Down
2 changes: 1 addition & 1 deletion src/Handler/Package.hs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ getPackageSnapshotsR :: PackageNameP -> Handler Html
getPackageSnapshotsR pn =
track "Handler.Package.getPackageSnapshotsR" $ do
cacheSeconds $ 60 * 60 * 24
snapshots <- getSnapshotsForPackage pn Nothing
snapshots <- getSnapshotsForPackage pn (Just 50)
defaultLayout
(do setTitle ("Packages for " >> toHtml pn)
$(combineStylesheets 'StaticR [css_font_awesome_min_css])
Expand Down

0 comments on commit 041255c

Please sign in to comment.