summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorMark Felder <feld@feld.me>2024-07-25 11:18:27 -0400
committerMark Felder <feld@feld.me>2024-07-25 11:46:30 -0400
commit1a482a73c3b99f7fdc512b734dd746e9f9cd396d (patch)
treebaccde2c722f4bdff582056f8a7a428ee3109100 /benchmarks
parent700c1066801ba1400a32c819fb0e608aa834aa51 (diff)
downloadpleroma-1a482a73c3b99f7fdc512b734dd746e9f9cd396d.tar.gz
pleroma-1a482a73c3b99f7fdc512b734dd746e9f9cd396d.zip
Fix Optimistic Inbox for failed signatures
When signatures fail on incoming activities we put the job into Oban to be processed later instead of doing the user fetching and validation inline which is expensive and increases latency on the incoming POST request. Unfortunately we did not retain the :method, :request_path, and :query_string parameters from the conn so the signature validation and Oban Job would always fail. This was most obvious when Mastodon sends Deletes for users your server has never seen before.
Diffstat (limited to 'benchmarks')
0 files changed, 0 insertions, 0 deletions