server/multitenant: addressing review comments in #8146

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8297
GitOrigin-RevId: caf82e358eed6ca6f94b2388e7bb4b75135b2793
This commit is contained in:
Rakesh Emmadi 2023-03-14 11:22:25 +05:30 committed by hasura-bot
parent 14f177862d
commit b98a51c644

View File

@ -34,7 +34,7 @@ module Hasura.Logging
readLogTypes,
getFormattedTime,
-- * Debounce logger
-- * Debounced stats logger
createStatsLogger,
closeStatsLogger,
logStats,
@ -341,8 +341,8 @@ cronEventGeneratorProcessType = ELTInternal ILTCronEventGeneratorProcess
sourceCatalogMigrationLogType :: EngineLogType Hasura
sourceCatalogMigrationLogType = ELTInternal ILTSourceCatalogMigration
-- | A logger useful for accumulating stats, evaluated in forever running loops, over a
-- period of time and log them only once. Use @'logStats' to record statistics for logging.
-- | A logger useful for accumulating and logging stats, in tight polling loops. It also
-- debounces to not flood with excessive logs. Use @'logStats' to record statistics for logging.
createStatsLogger ::
forall m stats impl.
( MonadIO m,