Skip to content

Commit

Permalink
decrease ql query interval for sql transports (#4559)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmasternak authored Nov 8, 2024
1 parent 492d1c8 commit eb15d54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ async Task UpdateChunk(NpgsqlConnection connection, KeyValuePair<PostgreSqlTable

static readonly ILog Logger = LogManager.GetLogger<QueueLengthProvider>();

static readonly TimeSpan QueryDelayInterval = TimeSpan.FromSeconds(1);
static readonly TimeSpan QueryDelayInterval = TimeSpan.FromMilliseconds(200);

const int QueryChunkSize = 10;
}
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ async Task UpdateChunk(SqlConnection connection, KeyValuePair<SqlTable, int>[] c

static readonly ILog Logger = LogManager.GetLogger<QueueLengthProvider>();

static readonly TimeSpan QueryDelayInterval = TimeSpan.FromSeconds(1);
static readonly TimeSpan QueryDelayInterval = TimeSpan.FromMilliseconds(200);

const int QueryChunkSize = 10;
}
Expand Down

0 comments on commit eb15d54

Please sign in to comment.