Sha256: 45bf86e1ec9b2eac87b9b4731df8ca19770c2c33eaa60c7c7726cf6270bd7546

Contents?: true

Size: 352 Bytes

Versions: 2

Compression:

Stored size: 352 Bytes

Contents

class StoredSession::ExpireSessionsJob < StoredSession.config.base_job_class
  queue_as StoredSession.config.expire_sessions_job_queue_as

  def perform(max_created_age: nil, max_updated_age: nil)
    StoredSession::Session.expire(max_created_age:, max_updated_age:)
  end

  ActiveSupport.run_load_hooks(:stored_session_expire_sessions_job, self)
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
stored_session-0.4.0 app/jobs/stored_session/expire_sessions_job.rb
stored_session-0.3.0 app/jobs/stored_session/expire_sessions_job.rb