diff --git a/globals/globals.go b/globals/globals.go index cdd8d08f2a..d213a3d015 100644 --- a/globals/globals.go +++ b/globals/globals.go @@ -30,6 +30,10 @@ var ( // DefaultMaxPageSize is the maximum list page size allowed if not set in the config. DefaultMaxPageSize = 1000 + // RefreshReadLookbackDuration is used to account for database state mutations + // missed due to concurrent transactions. + RefreshReadLookbackDuration = 30 * time.Second + // ContextMaxRequestSizeTypeKey is a value to keep linters from complaining // about clashing string identifiers ContextMaxRequestSizeTypeKey ContextMaxRequestSizeType