Delegate initialization to Runner::Strategy
This commit is contained in:
@ -49,6 +49,9 @@ module CodeOcean
|
||||
config.after_initialize do
|
||||
# Initialize the counters according to the db
|
||||
Prometheus::Controller.initialize_metrics
|
||||
|
||||
# Initialize the runner environment
|
||||
Runner.strategy_class.initialize_environment
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user