diff options
Diffstat (limited to 'app/workers/flush_counter_increments_worker.rb')
-rw-r--r-- | app/workers/flush_counter_increments_worker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/flush_counter_increments_worker.rb b/app/workers/flush_counter_increments_worker.rb index 8c7e17587d0..e92e1a9b7b5 100644 --- a/app/workers/flush_counter_increments_worker.rb +++ b/app/workers/flush_counter_increments_worker.rb @@ -29,6 +29,6 @@ class FlushCounterIncrementsWorker model = model_class.find_by_id(model_id) return unless model - model.flush_increments_to_database!(attribute) + Gitlab::Counters::BufferedCounter.new(model, attribute).commit_increment! end end |