Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add config.mission_control.jobs.irb_help that defaults to true #84

Merged
merged 1 commit into from
Mar 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/mission_control/jobs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ module Jobs
mattr_accessor :delay_between_bulk_operation_batches, default: 0
mattr_accessor :logger, default: ActiveSupport::Logger.new(nil)
mattr_accessor :internal_query_count_limit, default: 500_000 # Hard limit to keep unlimited count queries fast enough
mattr_accessor :show_console_help, default: true
end
end
4 changes: 3 additions & 1 deletion lib/mission_control/jobs/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ class Engine < ::Rails::Engine
MissionControl::Jobs::Current.server = application.servers.first
end

puts "\n\nType 'jobs_help' to see how to connect to the available job servers to manage jobs\n\n"
if MissionControl::Jobs.show_console_help
puts "\n\nType 'jobs_help' to see how to connect to the available job servers to manage jobs\n\n"
end
end

initializer "mission_control-jobs.assets" do |app|
Expand Down
Loading