Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Clase committed Dec 31, 2023
1 parent 8ca2436 commit aaad37f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

<PropertyGroup Condition=" '$(OS)' != 'Windows_NT' ">
<TargetFramework>netstandard2.0</TargetFramework>
<UseRidGraph>true</UseRidGraph>
</PropertyGroup>
<PropertyGroup Condition=" '$(OS)' == 'Windows_NT' ">
<TargetFrameworks>netstandard2.0;net48</TargetFrameworks>
Expand Down Expand Up @@ -32,8 +33,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Hangfire.Core" Version="1.8.0" />
<PackageReference Condition="'$(TargetFramework)' == 'net45'" Include="sqlite-net-pcl" Version="1.6.292" />
<PackageReference Condition="'$(TargetFramework)' != 'net45'" Include="sqlite-net-pcl" Version="1.8.116" />
<PackageReference Include="sqlite-net-pcl" Version="1.8.116" />
</ItemGroup>

</Project>
3 changes: 1 addition & 2 deletions src/samples/WebSample/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
.SetDataCompatibilityLevel(CompatibilityLevel.Version_180)
.UseSimpleAssemblyNameTypeSerializer()
.UseRecommendedSerializerSettings()
.UseSQLiteStorage("Hangfire.db",
new SQLiteStorageOptions() { AutoVacuumSelected = SQLiteStorageOptions.AutoVacuum.FULL, JobExpirationCheckInterval = TimeSpan.FromSeconds(30) })
.UseSQLiteStorage("Hangfire.db")
.UseHeartbeatPage(checkInterval: TimeSpan.FromSeconds(10))
.UseJobsLogger());
services.AddHangfireServer();
Expand Down

0 comments on commit aaad37f

Please sign in to comment.