Skip to content

Fix: Prevents infinite loop#17

Open
yaazkal wants to merge 1 commit intoVauxoo:13.0from
yaazkal:fix-infinite-loop
Open

Fix: Prevents infinite loop#17
yaazkal wants to merge 1 commit intoVauxoo:13.0from
yaazkal:fix-infinite-loop

Conversation

@yaazkal
Copy link
Contributor

@yaazkal yaazkal commented Jan 27, 2021

This fix an infinite loop that happens when there are multiple pages in in the lead information from facebook.

The if statement checks if there are more pages so it changes the data variable with the information corresponding to the next page. In this case, as the response variable is never updated or reused, it keeps loading only the second page of the facebook leads every time, which leads to an infinite loop that never ends as it will always enter the if statement reaching no end.

@hugho-ad
Copy link
Contributor

could you elaborate the commit and mr description showing up why it's an infinite loop lead_processing please?

Regards!

@yaazkal
Copy link
Contributor Author

yaazkal commented Jan 29, 2021

could you elaborate the commit and mr description showing up why it's an infinite loop lead_processing please?

Regards!

Sure, I've updated the description.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants