Skip to content

Commit

Permalink
commented logging code that we're not using yet
Browse files Browse the repository at this point in the history
  • Loading branch information
samcoforma committed Dec 6, 2024
1 parent d17c9fc commit 3ec9e21
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ class EvidenceSubmissionDocumentUploadPollingJob

# TODO: Flesh out perform function
def perform
successful_documents_before_polling = EvidenceSubmission.completed.count
failed_documents_before_polling = EvidenceSubmission.failed.count
# successful_documents_before_polling = EvidenceSubmission.completed.count
# failed_documents_before_polling = EvidenceSubmission.failed.count

documents_to_poll = EvidenceSubmission.pending
# StatsD.gauge("#{STATSD_KEY_PREFIX}.#{STATSD_PENDING_DOCUMENTS_POLLED_KEY}", documents_to_poll.count)
Expand All @@ -65,10 +65,10 @@ def perform
handle_error(response_struct, lighthouse_document_request_ids)
end

documents_marked_success = Lighthouse526DocumentUpload.completed.count - successful_documents_before_polling
# documents_marked_success = Lighthouse526DocumentUpload.completed.count - successful_documents_before_polling
# StatsD.gauge("#{STATSD_KEY_PREFIX}.#{STATSD_PENDING_DOCUMENTS_MARKED_SUCCESS_KEY}", documents_marked_success)

documents_marked_failed = Lighthouse526DocumentUpload.failed.count - failed_documents_before_polling
# documents_marked_failed = Lighthouse526DocumentUpload.failed.count - failed_documents_before_polling
# StatsD.gauge("#{STATSD_KEY_PREFIX}.#{STATSD_PENDING_DOCUMENTS_MARKED_FAILED_KEY}", documents_marked_failed)
end

Expand Down

0 comments on commit 3ec9e21

Please sign in to comment.