Apply suggestions from code review

Co-authored-by: Sebastian Serth <MrSerth@users.noreply.github.com>
This commit is contained in:
Maximilian Paß
2022-04-08 16:19:49 +02:00
parent 597cbec456
commit 3570f18202
2 changed files with 3 additions and 2 deletions

View File

@ -65,8 +65,9 @@ func (a *AWSEnvironment) IdleRunnerCount() int {
}
// PrewarmingPoolSize is neither supported nor required. It is handled transparently by AWS.
// For easy compatibility with CodeOcean, 1 is the static value.
func (a *AWSEnvironment) PrewarmingPoolSize() uint {
return 0
return 1
}
// SetPrewarmingPoolSize is neither supported nor required. It is handled transparently by AWS.