Skip to content

Commit

Permalink
Use less mods per request url to prevent error 504
Browse files Browse the repository at this point in the history
  • Loading branch information
TekkaGB committed Sep 14, 2021
1 parent 76f250b commit f42f684
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Unverum/ModUpdater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public async static void CheckForUpdates(string path, MainWindow main)
var MOD_ID = url.Segments[2];
requestUrls[urlCount] += $"itemtype[]={MOD_TYPE}&itemid[]={MOD_ID}&fields[]=Updates().bSubmissionHasUpdates()," +
$"Updates().aGetLatestUpdates(),Files().aFiles(),Preview().sStructuredDataFullsizeUrl()&";
if (++modCount > 49)
if (++modCount > 24)
{
requestUrls[urlCount] += "return_keys=1";
++urlCount;
Expand Down
2 changes: 1 addition & 1 deletion Unverum/Unverum.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<UseWPF>true</UseWPF>
<ApplicationIcon>Assets\unverum.ico</ApplicationIcon>
<AssemblyName>Unverum</AssemblyName>
<AssemblyVersion>1.2.8.0</AssemblyVersion>
<AssemblyVersion>1.2.9.0</AssemblyVersion>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit f42f684

Please sign in to comment.