Skip to content

Commit b62aa13

Browse files
committed
Whitelisted maven exercises use the new sandbox
1 parent 4fc8b3e commit b62aa13

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

app/models/remote_sandbox.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ def initialize(baseurl)
1616

1717
def self.try_to_send_submission_to_free_server(submission, notify_url)
1818
servers = if submission.exercise && ExerciseDir.get(submission.exercise.clone_path).safe_for_experimental_sandbox
19-
all_experimental.shuffle + all.shuffle
19+
if ExerciseDir.exercise_type == "maven"
20+
all_experimental.shuffle
21+
else
22+
all_experimental.shuffle + all.shuffle
23+
end
2024
else
2125
all.shuffle
2226
end

0 commit comments

Comments
 (0)