uploads: fixup issues causing Rails to fail to boot.

* Fix `UploadService is not a class` error.
* Update list of available job classes (remove UploadPreprocessorDelayedStartJob,
  UploadServiceDelayedStartJob, add ProcessUploadJob).
This commit is contained in:
evazion
2022-01-28 04:31:28 -06:00
parent abdab7a0a8
commit c0730630af
2 changed files with 5 additions and 6 deletions

View File

@@ -31,11 +31,10 @@ class ApplicationJob < ActiveJob::Base
DmailInactiveApproversJob, IqdbAddPostJob, IqdbRemovePostJob,
PopulateSavedSearchJob, PruneApproversJob, PruneBansJob,
PruneBulkUpdateRequestsJob, PrunePostDisapprovalsJob, PrunePostsJob,
PruneRateLimitsJob, PruneUploadsJob, RegeneratePostCountsJob,
RegeneratePostJob, RetireTagRelationshipsJob,
UploadPreprocessorDelayedStartJob, UploadServiceDelayedStartJob,
VacuumDatabaseJob, DiscordNotificationJob, BigqueryExportJob,
ProcessBulkUpdateRequestJob, PruneJobsJob, ActionMailer::MailDeliveryJob
PruneRateLimitsJob, ProcessUploadJob, RegeneratePostCountsJob,
RegeneratePostJob, RetireTagRelationshipsJob, VacuumDatabaseJob,
DiscordNotificationJob, BigqueryExportJob, ProcessBulkUpdateRequestJob,
PruneJobsJob, ActionMailer::MailDeliveryJob
]
end
end

View File

@@ -1,6 +1,6 @@
# frozen_string_literal: true
class UploadService
module UploadService
class Replacer
class Error < StandardError; end