Skip to content

Commit 0b28636

Browse files
authored
fix: add jobregistration to avoid warning
1 parent da6049f commit 0b28636

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/LinkDotNet.Blog.Web/RegistrationExtensions/BackgroundServiceRegistrationExtensions.cs

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ public static void AddBackgroundServices(this IServiceCollection services)
2222
.ExecuteWhen(s => s.RunJob<SimilarBlogPostJob>());
2323

2424
options.AddJob<TransformBlogPostRecordsJob>(p => p.WithCronExpression("0/10 * * * *"));
25+
options.AddJob<SimilarBlogPostJob>();
2526
});
2627
}
2728
}

0 commit comments

Comments
 (0)