Skip to content

Commit

Permalink
turn diff size down EVEN further
Browse files Browse the repository at this point in the history
  • Loading branch information
goaaats authored Feb 3, 2025
1 parent e7e4428 commit 37c23df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Plogon/BuildProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -418,8 +418,8 @@ private async Task<PluginDiffSet> GetPluginDiff(DirectoryInfo workDir, BuildTask
{
async Task<string?> UploadDiffToS3(string output, string type, string extension, string contentType)
{
// Limit diffs to ~2mb
const int maxDiffSize = 2 * 1024 * 1024;
// Limit diffs to ~1mb
const int maxDiffSize = 1 * 1024 * 1024;
if (output.Length > maxDiffSize)
{
Log.Error($"Diff too large, ignoring: {output.Length} > {maxDiffSize}");
Expand Down

0 comments on commit 37c23df

Please sign in to comment.