mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 17:02:49 +03:00
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:
parent
14f177862d
commit
b98a51c644
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user