🐛 Fix sphere

This commit is contained in:
2026-01-02 01:36:04 +08:00
parent 07b8c99682
commit b90d1be552
3 changed files with 9 additions and 10 deletions

View File

@@ -98,7 +98,6 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\DysonNetwork.Insight\DysonNetwork.Insight.csproj" />
<ProjectReference Include="..\DysonNetwork.Shared\DysonNetwork.Shared.csproj" />
</ItemGroup>

View File

@@ -1,4 +1,3 @@
using DysonNetwork.Insight.Reader;
using DysonNetwork.Sphere.ActivityPub;
using DysonNetwork.Sphere.Post;
using DysonNetwork.Sphere.Publisher;
@@ -27,14 +26,7 @@ public static class ScheduledJobsConfiguration
.WithIntervalInMinutes(1)
.RepeatForever())
);
q.AddJob<WebFeedScraperJob>(opts => opts.WithIdentity("WebFeedScraper").StoreDurably());
q.AddTrigger(opts => opts
.ForJob("WebFeedScraper")
.WithIdentity("WebFeedScraperTrigger")
.WithCronSchedule("0 0 0 * * ?")
);
q.AddJob<PublisherSettlementJob>(opts => opts.WithIdentity("PublisherSettlement"));
q.AddTrigger(opts => opts
.ForJob("PublisherSettlement")