class ActiveJob::QueueAdapters::AsyncAdapter

def shutdown(wait: true) # :nodoc:

:nodoc:
Waits for termination by default. Pass `wait: false` to continue.
any new jobs following the executor's fallback policy (`caller_runs`).
Gracefully stop processing jobs. Finishes in-progress work and handles
def shutdown(wait: true) # :nodoc:
  @scheduler.shutdown wait: wait
end