
Previously, the same runner could be used multiple times with different submissions simultaneously. This, however, yielded errors, for example when one submission time oud (causing the running to be deleted) while another submission was still executed. Admin actions, such as the shell, can be still executed regardless of any other code execution. Fixes CODEOCEAN-HG Fixes openHPI/poseidon#423
8 lines
195 B
Ruby
8 lines
195 B
Ruby
# frozen_string_literal: true
|
|
|
|
class AddReservedUntilToRunners < ActiveRecord::Migration[7.1]
|
|
def change
|
|
add_column :runners, :reserved_until, :datetime, null: true, default: nil
|
|
end
|
|
end
|