jobs: include job duration and queue delay on /jobs page.
This commit is contained in:
@@ -21,6 +21,6 @@ class BackgroundJobPolicy < ApplicationPolicy
|
||||
def api_attributes
|
||||
attributes = super
|
||||
attributes -= [:serialized_params] unless can_see_params?
|
||||
attributes
|
||||
attributes + [:job_duration, :queue_delay]
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user