Class: Backup::Repository::InterlockSizedQueue

Inherits:
SizedQueue
  • Object
show all
Extended by:
Gitlab::Utils::Override
Defined in:
lib/backup/repository.rb

Instance Method Summary collapse

Methods included from Gitlab::Utils::Override

extended, extensions, included, method_added, override, prepended, queue_verification, verify!

Instance Method Details

#popObject


251
252
253
254
255
# File 'lib/backup/repository.rb', line 251

def pop(*)
  ActiveSupport::Dependencies.interlock.permit_concurrent_loads do
    super
  end
end

#pushObject


258
259
260
261
262
# File 'lib/backup/repository.rb', line 258

def push(*)
  ActiveSupport::Dependencies.interlock.permit_concurrent_loads do
    super
  end
end