class BackupWorker
  include Sidekiq::Worker

  def perform
    PgDrive.perform
  end
end

class BackupWorker
  include Sidekiq::Worker

  def perform
    Timeout::timeout(120) {
      PgDrive.perform
    }
  rescue Timeout::Error
    logger.error("Backup timeout")
  end
end

Add timeout to backup worker
Add timeout to backup worker
