You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems like PostgresAdvisoryLock is failing to parse statement timeout:
System.FormatException: Unexpected timeout setting value '1d'
at Medallion.Threading.Postgres.PostgresAdvisoryLock.CapturedTimeoutSettings.ParsePostgresTimeout(String timeout) in /_/src/DistributedLock.Postgres/PostgresAdvisoryLock.cs:line 342
at Medallion.Threading.Postgres.PostgresAdvisoryLock.CapturedTimeoutSettings..ctor(String statementTimeout, String lockTimeout) in /_/src/DistributedLock.Postgres/PostgresAdvisoryLock.cs:line 337
at Medallion.Threading.Postgres.PostgresAdvisoryLock.CaptureTimeoutSettingsIfNeededAsync(DatabaseConnection connection, CancellationToken cancellationToken) in /_/src/DistributedLock.Postgres/PostgresAdvisoryLock.cs:line 211
at Medallion.Threading.Postgres.PostgresAdvisoryLock.TryAcquireAsync(DatabaseConnection connection, String resourceName, TimeoutValue timeout, CancellationToken cancellationToken) in /_/src/DistributedLock.Postgres/PostgresAdvisoryLock.cs:line 55
at Medallion.Threading.Internal.DistributedLockHelpers.ThrowTimeoutIfNull[T](ValueTask`1 task, String object) in /_/src/DistributedLock.Core/Internal/DistributedLockHelpers.cs:line 139
at Medallion.Threading.Postgres.PostgresDistributedLock.<>c__DisplayClass27_0.<<AcquireWithTransactionAsyncInternal>g__AcquireAsync|0>d.MoveNext() in /_/src/DistributedLock.Postgres/PostgresDistributedLock.Transactions.cs:line 132
--- End of stack trace from previous location ---
at Medallion.Threading.Postgres.PostgresDistributedLock.<>c__DisplayClass27_0.<<AcquireWithTransactionAsyncInternal>g__AcquireAsync|0>d.MoveNext() in /_/src/DistributedLock.Postgres/PostgresDistributedLock.Transactions.cs:line 132
Seems like PostgresAdvisoryLock is failing to parse statement timeout:
PostgreSQL returns: