Skip to content

Commit

Permalink
Do not queue any background jobs after a content release
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdavidhamilton committed Jul 17, 2023
1 parent dadb986 commit 8be8949
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/controllers/hook_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ def release
properties: payload,
)

FillPageViewsJob.enqueue
# Potentially useful but is a LONG running task and concurrent runs must be avoided
# TODO: consider que-locks if webhooks are to trigger the worker
#
# FillPageViewsJob.enqueue

render json: { status: 'content release received' }, status: :ok
end
Expand Down

0 comments on commit 8be8949

Please sign in to comment.