Closed nick-mccoy closed 6 years ago
The while loop for in_app_events had:
in_app_events
while to_datetime <= stop_datetime
which caused an infinite loop since, once the stream caught up, to_datetime was equal to stop_datetime. Since there is a limit on the requested reports, once the tap would loop until it hit that limit and then receive a 400 and error out.
to_datetime
stop_datetime
This changes the loop to
while from_datetime < to_datetime
The while loop for
in_app_events
had:which caused an infinite loop since, once the stream caught up,
to_datetime
was equal tostop_datetime
. Since there is a limit on the requested reports, once the tap would loop until it hit that limit and then receive a 400 and error out.This changes the loop to