Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redis race condition... #7

Open
luigisaetta opened this issue Jan 22, 2018 · 0 comments
Open

Redis race condition... #7

luigisaetta opened this issue Jan 22, 2018 · 0 comments
Labels

Comments

@luigisaetta
Copy link
Owner

I think there is the risk that the infromation on the position, coming from GPS app running on phone, arrives after the GET from the Python app (canncormain). This way the position is not yet defined. It should get (0,0)... but we need to check.

But at the same time the Phone app wants to talk with Raspberry, to send position. Perfect match to create a race condition.
Need to check, to avoid difficult to diagnose starting errors.
Maybe add a sleep to the start of Python app. Good for demo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant