Skip to content
Snippets Groups Projects
Commit 75e1a7d4 authored by Clemens Klein-Robbenhaar's avatar Clemens Klein-Robbenhaar
Browse files

XWIKI-15927 - Recursivity of getEvents() could lead to stack overflow

- use an iterative solution instead, fetching events from
  a calculated offset for each iteration
- increase the batch size after failing to get enough events
  which increases speed quite a lot when having to jump
  over a large amount of events that are filtered out
parent 7bcffaed
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment