Skip to content

Fix potential race condition in link collection#6

Open
SoClosee wants to merge 1 commit intomainfrom
gitpilot/GoogleMapScraper-fix-1772252493
Open

Fix potential race condition in link collection#6
SoClosee wants to merge 1 commit intomainfrom
gitpilot/GoogleMapScraper-fix-1772252493

Conversation

@SoClosee
Copy link
Contributor

The script used a while True loop to scroll through the results feed, which can lead to a race condition if multiple instances of the script are running simultaneously. This fix removes the while True loop and adds a lock mechanism to ensure only one instance is collecting links at a time.

Automated by GitPilot — your friendly AI maintainer

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.

1 participant