Skip to content

Make the polling interval for SQL transports configurable#2357

Merged
jeremydmiller merged 4 commits intoJasperFx:mainfrom
OctopusDeploy:sql-polling-interval
Mar 29, 2026
Merged

Make the polling interval for SQL transports configurable#2357
jeremydmiller merged 4 commits intoJasperFx:mainfrom
OctopusDeploy:sql-polling-interval

Conversation

@xwipeoutx
Copy link
Copy Markdown
Contributor

This PR adds new optional configuration to the SQL listeners to set the polling interval.

This applies to MySql, Oracle, Postgres, Sql Server and Sql Lite.

Changes

  • New extension method .PollingInterval(TimeSpan) to configuration
  • New field TimeSpan? PollingInterval to the queue
  • Updated Queue Listener to use that polling interval in place of DurabilitySettings.ScheduledJobPollingTime if it is set
  • Updated tests to ensure it wires up
  • Added to docs and doc samples

Testing and validation

  • Have run the unit and integration tests in the repository
  • Have manually tested the configuration

@jeremydmiller
Copy link
Copy Markdown
Member

Looks good, but the timing isn't perfect. I'm calling a pause on Wolverine & Marten releases until at least Monday.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants