Skip to content

Commit 39ca0b4

Browse files
GetFirstByLowestScoreFromSet
1 parent 767c950 commit 39ca0b4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Hangfire.FluentNHibernateStorage/FluentNHibernateJobStorageConnection.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ public override string GetFirstByLowestScoreFromSet(string key, double fromScore
318318
.OrderBy(i => i.Score)
319319
.Where(i => i.Key == key && i.Score >= fromScore && i.Score <= toScore)
320320
.Select(i => i.Value)
321-
.SingleOrDefault());
321+
.FirstOrDefault());
322322
}
323323

324324
public override long GetCounter(string key)

nuspecs/Hangfire.FluentNHibernateStorage.nuspec

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<package>
44
<metadata>
55
<id>Hangfire.FluentNHibernateStorage</id>
6-
<version>1.1.2048</version>
6+
<version>1.1.2060</version>
77
<authors>Xavier Jefferson</authors>
88
<owners>XavierJefferson</owners>
99
<licenseUrl>https://www.gnu.org/licenses/lgpl-3.0.en.html</licenseUrl>
@@ -12,7 +12,7 @@
1212
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1313
<description>A Hangfire storage provider for SQL Server, MySQL, Oracle, DB/2, PostgreSQL, and Firebird</description>
1414
<releaseNotes>
15-
Allow null options to be passed in without exception
15+
Fix bug with GetFirstByLowestScoreFromSet
1616
</releaseNotes>
1717
<copyright>Copyright © 2018 Xavier Jefferson</copyright>
1818
<tags>hangfire storage provider mssql mysql oracle postgresql firebird db2</tags>

0 commit comments

Comments
 (0)