Retry RubyLLM jobs on RubyLLM::ForbiddenError
ref: https://fizzy.37signals.com/5986089/cards/2574
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
class Search::RefreshEmbeddingJob < ApplicationJob
|
||||
retry_on RubyLLM::ForbiddenError
|
||||
discard_on ActiveJob::DeserializationError
|
||||
|
||||
def perform(record)
|
||||
|
||||
Reference in New Issue
Block a user