Artem Bilan
1bec420fd1
Do not block by default ( #8580 )
...
Currently, many timeouts in the project are like `-1` or other negative value
with a meaning to wait indefinitely.
According to distributed systems design and bad demo developing experience
it is not OK to block forever.
* Rework most of the timeouts in the framework to be `30` seconds.
Only one remained as `1` seconds is a `PollingConsumer` where it is
better to not block even for those 30 seconds when no messages in the queue,
but let the polling task be rescheduled.
* Remove the `MessagingGatewaySupport.replyTimeout` propagation down to the
`PollingConsumer` correlator where it was a `-1` before and blocked
the polling thread on the `Queue.poll()`.
This fixed the problem with a single thread in a pool for auto-configured `TaskScheduler`.
Now with 1 seconds wait time we are able to switch to other scheduled tasks
even with only 1 thread in the pool
2023-03-21 17:43:00 -04:00
..
2021-02-08 14:48:35 -05:00
2018-07-03 14:11:02 -04:00
2023-03-21 17:43:00 -04:00
2022-09-26 17:43:37 -04:00
2022-02-15 13:00:24 -05:00
2022-07-05 15:47:30 -04:00
2022-11-03 12:18:35 -04:00
2022-10-17 16:03:37 -04:00
2022-02-15 13:00:24 -05:00
2021-04-07 15:17:17 -04:00
2022-10-05 10:35:19 -04:00
2019-06-26 16:14:02 -04:00
2022-01-18 14:38:50 -05:00
2022-10-05 10:35:19 -04:00
2019-05-29 17:47:34 -04:00
2019-05-29 17:47:34 -04:00
2022-09-27 13:10:11 -04:00
2022-10-05 10:35:19 -04:00
2022-10-03 15:07:43 -04:00
2019-12-26 15:41:19 -05:00
2020-05-26 16:54:15 -04:00
2022-01-18 14:38:50 -05:00
2022-01-18 14:38:50 -05:00
2023-02-21 15:18:03 -05:00
2022-07-05 15:47:30 -04:00
2022-07-05 15:47:30 -04:00
2023-03-21 17:43:00 -04:00
2022-02-15 13:00:24 -05:00
2022-08-22 12:38:23 -04:00
2023-03-21 17:43:00 -04:00
2022-07-05 15:47:30 -04:00
2022-05-11 16:43:27 -04:00
2022-07-05 15:47:30 -04:00
2019-02-15 15:54:18 -05:00
2022-10-25 11:10:37 -04:00
2022-11-14 16:28:51 -05:00
2022-11-14 16:28:51 -05:00
2022-11-16 15:10:26 -05:00
2022-07-05 15:47:30 -04:00
2022-07-05 15:47:30 -04:00
2022-07-05 15:47:30 -04:00
2023-03-20 13:19:19 -04:00
2022-10-05 10:35:19 -04:00
2022-10-17 17:53:55 -04:00
2023-03-21 17:43:00 -04:00
2022-02-15 13:00:24 -05:00
2022-11-02 10:19:58 -04:00
2022-10-17 15:41:58 -04:00
2022-10-17 15:41:58 -04:00
2022-10-03 15:07:43 -04:00
2023-02-06 12:20:42 -05:00
2023-02-21 15:18:03 -05:00
2023-03-21 17:43:00 -04:00
2023-02-21 15:18:03 -05:00
2022-11-18 11:26:46 -05:00
2022-11-18 11:26:46 -05:00
2022-07-05 15:47:30 -04:00
2023-03-21 17:43:00 -04:00
2023-02-22 15:23:13 -05:00
2022-02-15 13:00:24 -05:00
2023-03-21 17:43:00 -04:00
2023-03-20 10:59:25 -04:00
2022-08-28 09:54:57 -04:00
2022-10-17 17:53:55 -04:00
2022-07-05 15:47:30 -04:00
2022-07-05 15:47:30 -04:00
2022-08-04 16:22:16 -04:00
2022-02-15 13:00:24 -05:00
2018-07-03 14:11:02 -04:00
2022-11-14 16:28:51 -05:00
2015-08-11 18:21:35 -04:00
2020-03-19 15:20:13 -04:00
2022-10-17 17:53:55 -04:00
2022-11-14 16:28:51 -05:00
2022-11-15 14:11:12 -05:00
2022-07-05 15:47:30 -04:00
2022-12-07 08:56:40 -05:00
2022-11-18 11:26:46 -05:00
2022-02-15 13:00:24 -05:00
2022-04-08 16:05:43 -04:00
2023-02-21 15:18:03 -05:00
2022-07-05 15:47:30 -04:00
2022-10-17 17:53:55 -04:00
2022-06-08 13:15:30 -04:00
2023-03-21 17:43:00 -04:00
2022-02-15 13:00:24 -05:00
2022-02-15 13:00:24 -05:00
2023-03-21 17:43:00 -04:00
2022-07-05 15:47:30 -04:00
2022-02-15 13:00:24 -05:00
2023-03-21 17:43:00 -04:00
2023-01-11 13:34:28 -05:00
2022-10-17 18:32:17 -04:00
2022-07-28 09:32:01 -04:00
2023-02-28 17:33:31 -05:00
2021-04-07 15:17:17 -04:00
2022-07-05 15:47:30 -04:00
2022-02-15 13:00:24 -05:00
2022-02-15 13:00:24 -05:00
2022-02-15 13:00:24 -05:00
2022-02-15 13:00:24 -05:00
2022-02-15 13:00:24 -05:00
2021-02-08 14:48:35 -05:00
2023-01-09 15:37:06 -05:00
2022-02-15 13:00:24 -05:00
2023-02-22 16:23:49 -05:00
2023-02-22 14:05:53 -05:00
2022-11-18 16:33:12 -05:00
2023-03-21 17:43:00 -04:00
2022-07-05 15:47:30 -04:00
2022-02-15 13:00:24 -05:00
2022-02-15 13:00:24 -05:00
2022-07-05 15:47:30 -04:00
2023-02-21 15:18:05 -05:00
2021-11-15 12:21:52 -05:00