diff --git a/src/ServiceControl.Transports.PostgreSql/QueueLengthProvider.cs b/src/ServiceControl.Transports.PostgreSql/QueueLengthProvider.cs index 28b4fdea4b..743f31e7e1 100644 --- a/src/ServiceControl.Transports.PostgreSql/QueueLengthProvider.cs +++ b/src/ServiceControl.Transports.PostgreSql/QueueLengthProvider.cs @@ -132,7 +132,7 @@ async Task UpdateChunk(NpgsqlConnection connection, KeyValuePair(); - static readonly TimeSpan QueryDelayInterval = TimeSpan.FromSeconds(1); + static readonly TimeSpan QueryDelayInterval = TimeSpan.FromMilliseconds(200); const int QueryChunkSize = 10; } \ No newline at end of file diff --git a/src/ServiceControl.Transports.SqlServer/QueueLengthProvider.cs b/src/ServiceControl.Transports.SqlServer/QueueLengthProvider.cs index fe06db3da6..bfcd15062e 100644 --- a/src/ServiceControl.Transports.SqlServer/QueueLengthProvider.cs +++ b/src/ServiceControl.Transports.SqlServer/QueueLengthProvider.cs @@ -130,7 +130,7 @@ async Task UpdateChunk(SqlConnection connection, KeyValuePair[] c static readonly ILog Logger = LogManager.GetLogger(); - static readonly TimeSpan QueryDelayInterval = TimeSpan.FromSeconds(1); + static readonly TimeSpan QueryDelayInterval = TimeSpan.FromMilliseconds(200); const int QueryChunkSize = 10; }