Join GitHub today
Update Painless Loop Counter to be Higher #22560
Considering this a bug as it probably should have been higher to support updates in the first place, but still provides some infinite loop protection. Updated to 1000000 from 10000.
This counter applies on a loose basis to statements (not operations) within a loop in Painless. It is cumulative on a per function basis including the main function. Calls external to Painless functions count as one statement. This will hopefully become smarter in the future.