Skip to content

Commit 8ad1e47

Browse files
danjus10barclayadam
authored andcommitted
Updated Read Me for Options
Added reference to LoopReceiveTimeout to lift onto initial setup
1 parent 5ac29c7 commit 8ad1e47

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

readme.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ sqlStorage.UseServiceBusQueues(connectionString, configureAction, "critical", "d
5151
sqlStorage.UseServiceBusQueues(new ServiceBusQueueOptions
5252
{
5353
ConnectionString = connectionString,
54-
54+
5555
Configure = configureAction,
5656

5757
// The actual queues used in Azure will have this prefix if specified
@@ -73,7 +73,12 @@ sqlStorage.UseServiceBusQueues(new ServiceBusQueueOptions
7373
//
7474
// Note that the dashboard *must* have the 'Manage' permission otherwise the
7575
// queue length cannot be read
76-
CheckAndCreateQueues = false
76+
CheckAndCreateQueues = false,
77+
78+
// Typically a lower value is desired to keep the throughput of message processing high. A lower timeout means more calls to
79+
// Azure Service Bus which can increase costs, especially on an under-utilised server with few jobs.
80+
// Use a Higher value for lower costs in non production or non critical jobs
81+
LoopReceiveTimeout = TimeSpan.FromMilliseconds(500)
7782
});
7883

7984
GlobalConfiguration.Configuration

0 commit comments

Comments
 (0)