Skip to content

Commit

Permalink
Pass stack limit to runs
Browse files Browse the repository at this point in the history
  • Loading branch information
ajami1331 committed Jul 12, 2024
1 parent b03eef7 commit cdaf5f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sojj/Services/SandBoxService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ public async Task<TestCaseResult> RunAsync(TestCase testCase, CompileResult comp
],
CpuLimit = testCase.TimeLimit,
ClockLimit = testCase.TimeLimit * 3,
StackLimit = this.stackLimitForRuns * Constants.ByteInMegaByte,
MemoryLimit = testCase.MemoryLimit,
ProcessLimit = this.processLimitForRuns,
CopyIn = copyIn,
Expand Down

0 comments on commit cdaf5f0

Please sign in to comment.