From 79c8301458816971caccaacddd7f5787aeb73c7d Mon Sep 17 00:00:00 2001 From: Nikhil Benesch Date: Tue, 26 Nov 2024 23:20:42 -0500 Subject: [PATCH] Increase MAX_ITERATIONS To avoid accidentally excluding 3 trains from consideration. --- nyc_subway_zoom.star | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nyc_subway_zoom.star b/nyc_subway_zoom.star index a84ff0d..5186a4f 100644 --- a/nyc_subway_zoom.star +++ b/nyc_subway_zoom.star @@ -14,7 +14,7 @@ BULLET_COLOR = "#ee352e" # Number of hardcoded iterations to simulate an infinite loop, since Starlark # doesn't support infinite loops. Used for decoding protobuf messages and such, # which can support an arbitrary number of fields, etc. -MAX_ITERATIONS = 64 +MAX_ITERATIONS = 2 << 20 # ==> Entrypoint.