When requests are rejected by the collector, the events are returned to storage. A wait time is added before further attempts are made. The delay increases exponentially with every subsequent rejection. However, there was no maximum time.
This wait time now starts at 100ms, and exponentially increases up to 10 min. I also added randomness to avoid the collector being overwhelmed when it starts accepting requests again.
For issue #338.
When requests are rejected by the collector, the events are returned to storage. A wait time is added before further attempts are made. The delay increases exponentially with every subsequent rejection. However, there was no maximum time.
This wait time now starts at 100ms, and exponentially increases up to 10 min. I also added randomness to avoid the collector being overwhelmed when it starts accepting requests again.