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 ea01a29 commit 9480c34Copy full SHA for 9480c34
AiServer/Configure.BackgroundJobs.cs
@@ -20,7 +20,11 @@ public void Configure(IWebHostBuilder builder) => builder
20
() => [typeof(LogCommand)]
21
}
22
});
23
- services.AddPlugin(new BackgroundsJobFeature { EnableAdmin = true });
+ services.AddPlugin(new BackgroundsJobFeature
24
+ {
25
+ EnableAdmin = true,
26
+ DefaultTimeoutSecs = 20 * 60, // 20 mins
27
+ });
28
services.AddHostedService<JobsHostedService>();
29
}).ConfigureAppHost(afterAppHostInit: appHost => {
30
var services = appHost.GetApplicationServices();
0 commit comments