
The old approach was to require the runner connection. This did not work anymore with Zeitwerk in Rails 6. @sebastian.serth and I moved the Connection class in `lib` into the ActiveRecord class `Runner`. This will also work with future changes like specific error classes. Furthermore the config was fixed and simplified. Co-authored-by: Sebastian Serth <Sebastian.Serth@hpi.de>
34 lines
584 B
Plaintext
34 lines
584 B
Plaintext
default: &default
|
|
flowr:
|
|
enabled: false
|
|
answers_per_query: 3
|
|
code_pilot:
|
|
enabled: false
|
|
url: //localhost:3000
|
|
codeharbor:
|
|
enabled: false
|
|
codeocean_events:
|
|
enabled: false
|
|
prometheus_exporter:
|
|
enabled: false
|
|
runner_management:
|
|
url: https://runners.example.org
|
|
unused_runner_expiration_time: 180
|
|
|
|
development:
|
|
<<: *default
|
|
flowr:
|
|
enabled: true
|
|
answers_per_query: 3
|
|
codeharbor:
|
|
enabled: true
|
|
url: https://codeharbor.openhpi.de
|
|
|
|
production:
|
|
<<: *default
|
|
prometheus_exporter:
|
|
enabled: true
|
|
|
|
test:
|
|
<<: *default
|