Skip to content

Commit

Permalink
Alter log level of garbage collector message (fix #10172)
Browse files Browse the repository at this point in the history
GITHUB_PR_NUMBER: 10173
GITHUB_PR_URL: #10173

PR-URL: hasura/graphql-engine-mono#10738
Co-authored-by: Adam Malone <3642111+typhonius@users.noreply.github.com>
GitOrigin-RevId: 3926af6bbac0081f9510e1bdcc9a5d2c5fa2c515
  • Loading branch information
hasura-bot and typhonius committed Mar 19, 2024
1 parent 0123fa3 commit 9893804
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src-lib/Hasura/GC.hs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ ourIdleGC (Logger logger) idleInterval minGCInterval maxNoGCInterval =
else do
when (areOverdue && not areIdle)
$ logger
$ UnstructuredLog LevelWarn
$ UnstructuredLog LevelInfo
$ "Overdue for a major GC: forcing one even though we don't appear to be idle"
performMajorGC
startTimer >>= go (gcs + 1) (major_gcs + 1) True
Expand Down

0 comments on commit 9893804

Please sign in to comment.