File tree 2 files changed +4
-7
lines changed
2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 14
14
<PackageReleaseNotes >https://github.com/frankhommers/Hangfire.PostgreSql/releases</PackageReleaseNotes >
15
15
<PackageProjectUrl >http://hmm.rs/Hangfire.PostgreSql</PackageProjectUrl >
16
16
<PackageLicenseUrl ></PackageLicenseUrl >
17
- <Version >1.6.1 </Version >
18
- <FileVersion >1.6.1 </FileVersion >
19
- <AssemblyVersion >1.6.1 </AssemblyVersion >
17
+ <Version >1.6.2 </Version >
18
+ <FileVersion >1.6.2 </FileVersion >
19
+ <AssemblyVersion >1.6.2 </AssemblyVersion >
20
20
<GeneratePackageOnBuild >True</GeneratePackageOnBuild >
21
21
<PackageLicenseFile >LICENSE.md</PackageLicenseFile >
22
22
<RepositoryUrl >https://github.com/frankhommers/Hangfire.PostgreSql</RepositoryUrl >
Original file line number Diff line number Diff line change @@ -466,10 +466,7 @@ private IPersistentJobQueueMonitoringApi GetQueueApi(
466
466
467
467
private T UseConnection < T > ( Func < NpgsqlConnection , T > action )
468
468
{
469
- using ( var connection = GetConnection ( ) )
470
- {
471
- return action ( connection ) ;
472
- }
469
+ return action ( GetConnection ( ) ) ;
473
470
}
474
471
475
472
private JobList < EnqueuedJobDto > EnqueuedJobs ( NpgsqlConnection connection , IEnumerable < long > jobIds )
You can’t perform that action at this time.
0 commit comments