Sha256: dd229de4f1d37d7c435da10f36f64e61b0c0738aa56ed64d93fbf4291fc8db71
Contents?: true
Size: 665 Bytes
Versions: 56
Compression:
Stored size: 665 Bytes
Contents
# frozen_string_literal: true # When executed this job updates rolling statistics for a patient's # last past 12 HD sessions. # Because this job will be triggered again the next time an HD Sessions is # created, it is not crucial to keep each event around - ie they have a short # shelf-life. For this reason we only retry 3 times then delete failed jobs. module Renalware module HD class UpdateRollingPatientStatisticsJob < ApplicationJob queue_as :hd_patient_statistics queue_with_priority 4 # :reek:UtilityFunction def perform(patient) UpdateRollingPatientStatistics.new(patient: patient).call end end end end
Version data entries
56 entries across 56 versions & 1 rubygems