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:
@@ -31,11 +31,10 @@ class ApplicationJob < ActiveJob::Base
|
|||||||
DmailInactiveApproversJob, IqdbAddPostJob, IqdbRemovePostJob,
|
DmailInactiveApproversJob, IqdbAddPostJob, IqdbRemovePostJob,
|
||||||
PopulateSavedSearchJob, PruneApproversJob, PruneBansJob,
|
PopulateSavedSearchJob, PruneApproversJob, PruneBansJob,
|
||||||
PruneBulkUpdateRequestsJob, PrunePostDisapprovalsJob, PrunePostsJob,
|
PruneBulkUpdateRequestsJob, PrunePostDisapprovalsJob, PrunePostsJob,
|
||||||
PruneRateLimitsJob, PruneUploadsJob, RegeneratePostCountsJob,
|
PruneRateLimitsJob, ProcessUploadJob, RegeneratePostCountsJob,
|
||||||
RegeneratePostJob, RetireTagRelationshipsJob,
|
RegeneratePostJob, RetireTagRelationshipsJob, VacuumDatabaseJob,
|
||||||
UploadPreprocessorDelayedStartJob, UploadServiceDelayedStartJob,
|
DiscordNotificationJob, BigqueryExportJob, ProcessBulkUpdateRequestJob,
|
||||||
VacuumDatabaseJob, DiscordNotificationJob, BigqueryExportJob,
|
PruneJobsJob, ActionMailer::MailDeliveryJob
|
||||||
ProcessBulkUpdateRequestJob, PruneJobsJob, ActionMailer::MailDeliveryJob
|
|
||||||
]
|
]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class UploadService
|
module UploadService
|
||||||
class Replacer
|
class Replacer
|
||||||
class Error < StandardError; end
|
class Error < StandardError; end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user