We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f52c3ca commit 417fd98Copy full SHA for 417fd98
MyApp/Configure.BackgroundJobs.cs
@@ -32,7 +32,8 @@ public void Configure(IWebHostBuilder builder) => builder
32
// },
33
// });
34
services.AddPlugin(new DatabaseJobFeature {
35
- NamedConnection = "jobs"
+ NamedConnection = "jobs",
36
+ DefaultTimeoutSecs = 60 * 60, // 1 hour
37
});
38
services.AddHostedService<JobsHostedService>();
39
}).ConfigureAppHost(afterAppHostInit: appHost => {
0 commit comments