diff --git a/app/models/apple/api_waiting.rb b/app/models/apple/api_waiting.rb index fc34d1378..f7534879e 100644 --- a/app/models/apple/api_waiting.rb +++ b/app/models/apple/api_waiting.rb @@ -8,7 +8,7 @@ module ApiWaiting def self.wait_for(remaining_records) t_beg = Time.now.utc loop do - Rails.logger.info(".wait_for", {remaining_records: remaining_records, have_waited: Time.now.utc - t_beg}) + Rails.logger.info(".wait_for", {remaining_record_count: remaining_records.count, have_waited: Time.now.utc - t_beg}) # Return `timeout == true` if we've waited too long break [true, remaining_records] if Time.now.utc - t_beg > self::API_WAIT_TIMEOUT