Files
nats-server/server
Derek Collison 4e92b0ed6e When a server was restarting, if a stream had a MaxAge and there were a very large amount of messages to expire, this would take too long.
During normal operation and quick restarts the number of expired messages per cycle is manageable and correct.
However if a server is shutdown for quite a long time and many messages have expired this process is too slow.

This commit introduces an optimized expiration tailored for startup vs running state.

Signed-off-by: Derek Collison <derek@nats.io>
2021-07-30 12:48:47 -07:00
..
2020-05-19 14:15:11 -07:00
2021-07-22 11:27:34 -04:00
2021-04-09 15:18:06 -07:00
2021-05-19 14:46:07 -07:00
2021-05-19 14:46:07 -07:00
2021-05-28 15:52:22 +02:00
2021-05-26 08:04:50 +02:00
2021-07-23 10:19:07 +01:00
2021-07-08 07:42:40 -07:00
2021-01-14 01:14:52 -08:00
2021-01-14 01:14:52 -08:00
2021-07-19 11:42:28 -04:00
2020-06-12 10:03:47 -06:00
2021-04-12 10:17:13 -07:00
2021-07-22 18:53:06 -04:00
2021-05-26 08:04:50 +02:00