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
..
2019-05-13 09:31:32 +08:00
2019-07-24 11:29:18 +01:00
2019-06-21 11:00:28 +10:00
2019-07-23 17:18:16 -04:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-08-07 12:32:19 +02:00
2019-06-20 11:30:09 +02:00
2019-05-13 09:31:32 +08:00
2019-08-07 19:10:50 +02:00
2019-08-07 19:10:50 +02:00
2019-08-06 10:40:38 +02:00
2019-07-04 10:12:39 +02:00
2019-06-07 21:53:01 +02:00
2019-05-13 09:31:32 +08:00
2019-07-23 07:57:50 -03:00
2019-07-04 11:37:37 +02:00
2019-08-09 17:48:01 +10:00
2019-05-16 11:32:10 +02:00
2019-05-13 09:31:32 +08:00
2019-07-24 20:04:27 +02:00
2019-08-07 11:38:58 +02:00
2019-05-13 09:31:32 +08:00
2019-06-24 11:31:07 -04:00
2019-07-02 11:22:01 +10:00
2019-05-27 16:39:56 +08:00
2019-05-13 09:31:32 +08:00
2019-07-31 20:20:41 +05:30
2019-07-29 10:28:24 +01:00
2019-08-08 10:44:04 +01:00
2019-08-06 14:55:17 -03:00
2019-07-23 07:57:50 -03:00
2019-07-09 08:51:23 +01:00
2019-08-01 16:24:09 +08:00
2019-06-03 10:47:17 -04:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-04-30 10:25:53 +10:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-07-29 16:51:08 -04:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-08-08 18:45:18 +02:00
2019-06-03 12:13:32 +10:00
2019-08-08 11:58:00 +01:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-07-31 17:30:08 +02:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-06-27 01:45:52 +02:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-28 11:45:12 +10:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-06-25 11:20:34 +08:00
2019-07-25 12:46:16 -04:00
2019-05-13 09:31:32 +08:00
2019-07-19 15:17:58 -03:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-08-07 15:39:51 -04:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-08-01 16:24:09 +08:00
2019-05-13 09:31:32 +08:00
2019-08-07 16:39:58 +05:30
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-07-08 15:09:50 -04:00
2019-05-13 09:31:32 +08:00
2019-04-29 16:41:35 +08:00
2019-05-13 09:31:32 +08:00
2019-07-18 11:55:49 +02:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-24 11:38:26 +02:00
2019-05-22 17:39:44 +03:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-07-22 14:59:56 +03:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-06-27 01:45:52 +02:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-06-07 01:26:06 +02:00
2019-05-13 09:31:32 +08:00
2019-05-24 15:44:24 -04:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-06-05 11:29:27 +10:00
2019-06-20 12:38:16 -04:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-06-27 01:54:40 +02:00
2019-08-02 15:29:12 +01:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-06 16:07:49 +02:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-08-02 07:57:27 +05:30
2019-07-29 14:35:34 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-07-23 03:52:52 +00:00
2019-05-13 09:31:32 +08:00
2019-07-26 17:37:23 +03:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-06-04 18:37:10 +02:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-29 21:43:43 +05:30
2019-05-20 13:47:20 +02:00
2019-05-13 09:31:32 +08:00
2019-07-16 12:45:15 +02:00
2019-05-31 14:49:59 +01:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-05-27 16:39:56 +08:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-06-05 18:28:36 +10:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-08-06 13:28:22 +03:00
2019-06-27 13:26:48 +10:00
2019-05-13 09:31:32 +08:00
2019-06-27 16:41:19 +01:00
2019-05-13 09:31:32 +08:00
2019-05-13 09:31:32 +08:00
2019-08-01 16:24:09 +08:00
2019-05-13 09:31:32 +08:00
2019-07-25 16:36:35 +02:00
2019-08-02 07:08:21 +05:30
2019-05-13 09:31:32 +08:00
2019-05-28 16:48:46 +10:00
2019-07-15 10:12:45 -04:00
2019-05-13 09:31:32 +08:00