I was looking for that too, and I found in Unreal 4.27 release notes that the recursion limit (which was changed to default to 120 frames instead of 250), can now be changed in project’s Config\DefaultEngine.ini file (instead of previously requiring a custom build of the engine just to change the limit):
The script execution recursion limit is now stored in a cvar named bp.ScriptRecurseLimit. The default value on desktop is now 120 to match consoles, instead of the previous value, 250. You can set this value higher in the [Console] section of DefaultEngine.ini file if you need to keep the limit at 250 on desktop.
I’ve tried using [Console] section of DefaultEngine.ini file, but as of 4.27.1 it doesn’t seem to work. However, by putting bp.ScriptRecurseLimit in a [SystemSettings] section, like this, it worked for me:
[SystemSettings]
bp.ScriptRecurseLimit=2500