discourse/spec
Sam Saffron 1f47ed1ea3 PERF: message_bus will be deferred by server when flooded
The message_bus performs a fair amount of work prior to hijacking requests
this change ensures that if there is a situation where the server is flooded
message_bus will inform client to back off for 30 seconds + random(120 secs)

This back-off is ultra cheap and happens very early in the middleware.

It corrects a situation where a flood to message bus could cause the app
to become unresponsive

MessageBus update is here to ensure message_bus gem properly respects
Retry-After header and status 429.

Under normal state this code should never trigger, to disable raise the
value of DISCOURSE_REJECT_MESSAGE_BUS_QUEUE_SECONDS, default is to tell
message bus to go away if we are queueing for 100ms or longer
2019-08-09 17:48:01 +10:00
..
components FIX: Award 'First Onebox' badge just for Oneboxed URLs. (#7974) 2019-08-08 18:45:18 +02:00
fabricators DEV: Default to skipping creating a topic when fabricating categories (#7976) 2019-08-06 11:26:54 +01:00
fixtures FEATURE: Add attachments to outgoing emails 2019-07-25 15:57:45 +02:00
helpers FIX: Fallback to gzip compression if brotli isn't supported (#7895) 2019-07-16 11:05:37 -03:00
import_export DEV: Prefabrication (test optimization) (#7414) 2019-05-07 13:12:20 +10:00
integration PERF: message_bus will be deferred by server when flooded 2019-08-09 17:48:01 +10:00
integrity PERF: Use Oj for serializing JSON. (#7820) 2019-06-28 12:16:00 +10:00
jobs FIX: include default label when exporting reports 2019-07-26 12:57:13 +05:30
lib FIX: Correctly identify Chromium-based Edge 2019-07-29 16:51:08 -04:00
mailers FEATURE: add option to always send excerpts in emails 2019-08-06 12:45:28 -04:00
models FIX: Notify on Reviewable update. (#7980) 2019-08-08 16:04:34 +02:00
multisite FIX: multisite upload urls must have either db name or the word 'short-url'. 2019-06-25 01:19:58 +05:30
requests FIX: Correct OmniAuth route ordering 2019-08-08 15:49:09 +01:00
serializers FIX: Show membership requests link just for group owners. (#7543) 2019-08-06 13:28:22 +03:00
services DEV: Default to skipping creating a topic when fabricating categories (#7976) 2019-08-06 11:26:54 +01:00
support FIX: DistributedMutex (#7953) 2019-08-01 09:12:05 +01:00
tasks FEATURE: option to skip posts with ignored missing uploads 2019-05-09 05:11:15 +05:30
views/omniauth_callbacks DEV: use #frozen_string_literal: true on all spec 2019-04-30 10:27:42 +10:00
rails_helper.rb FIX: Rollback when multisite tests raise exceptions 2019-08-01 15:26:06 +01:00