Skip to content

Commit 388b282

Browse files
committed
fix: Stop doing files, and focus on projects instead.
1 parent b3e92ed commit 388b282

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CFLookup/Jobs/StoreCFApiProjects.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ ON CONFLICT (projectid, gameid) DO UPDATE
268268
}
269269
finally
270270
{
271-
BackgroundJob.Schedule(() => StoreCFApiFiles.RunAsync(null, JobCancellationToken.Null), TimeSpan.FromSeconds(10));
271+
BackgroundJob.Schedule(() => StoreCFApiProjects.RunAsync(null, JobCancellationToken.Null), TimeSpan.FromMinutes(10));
272272
}
273273
}
274274
}

CFLookup/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ private static async Task Main(string[] args)
139139
builder.Services.AddScoped(options =>
140140
new CurseForge.APIClient.ApiClient(cfApiKey, 201, "whatcfprojectisthat@nolifeking85.tv")
141141
{
142-
RequestDelay = TimeSpan.FromSeconds(5),
142+
RequestDelay = TimeSpan.FromSeconds(1),
143143
RequestTimeout = TimeSpan.FromMinutes(10)
144144
});
145145

0 commit comments

Comments
 (0)