Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.NET Standard2 support and Azure.Messaging.Servicebus SDK #20

Merged
merged 13 commits into from
Oct 5, 2021

Conversation

GiampaoloGabba
Copy link
Contributor

@GiampaoloGabba GiampaoloGabba commented Oct 2, 2021

This PR adds:

  • Support to .NET Standard 2
  • Use of Azure.Messaging.Servicebus SDK (the latest, and recommended, Azure Service Bus .NET SDK available)
  • SourceLink support
  • New overload for LinearRetryPolicy with a TimeSpan array (to define custom waits between retries)
  • New setting for QueuePollInterval (to be able to have an additional timeout in case of low read timeouts and multiple queues)
  • New GlobalConfigurationExtensions to play nice with .NETCore ServiceCollection configuration
  • Updated readme.md

I havent touched the appveyr.yml configuration file (i dont use appveyor). For sure it needs an update in order to compile this PR.

Also, i have removed the MinSyncReceiveTimeout from ServiceBusQueueJobQueue.cs because with the new SDK, waiting for just 1 Tick doesnt work: no messages are retreived, moreover, i think that all the queues should honor the LoopReceiveTimeout option

Closes #19, closes #18, closes #7, also fix #15

@odinserj
Copy link
Member

odinserj commented Oct 5, 2021

Such a brilliant work, thank you so much for handling this ❤️! I think we can release this with a major version bump, e.g. as 5.0.0. I will try to fix the AppVeyor setup to ensure continuous integration is possible and merge the PR once everything is ready. And once PR is merged I will release the 5.0.0 version.

@odinserj odinserj merged commit 2ab41c7 into HangfireIO:master Oct 5, 2021
@odinserj
Copy link
Member

odinserj commented Oct 5, 2021

Just released as 5.0.0, already available on NuGet feed (but may be not indexed yet). Let me know if there are any troubles!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants