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

feat: prevent IP / alt IP conflicts #585

Merged
merged 15 commits into from
Dec 13, 2024
Merged

feat: prevent IP / alt IP conflicts #585

merged 15 commits into from
Dec 13, 2024

Conversation

alexey-yarmosh
Copy link
Member

Fixes jsdelivr/globalping-dash-directus#32.

Additionally:

  • Previously first call of syncDashboardData was fired before any probe is connected to the worker, which triggered marking of all probes as offline. That is fixed.
  • Fixed comparison of lat/long values, which triggered continuous updates of the probe.

@MartinKolarik
Copy link
Member

Fixed comparison of lat/long values, which triggered continuous updates of the probe.

This was in case of custom cities, right?

@alexey-yarmosh
Copy link
Member Author

This was in case of custom cities, right?

No, it depends on the value, e.g. SQL value 139.68 will be parsed by JS as 139.67999.

src/lib/override/adopted-probes.ts Outdated Show resolved Hide resolved
src/lib/override/adopted-probes.ts Outdated Show resolved Hide resolved
@MartinKolarik MartinKolarik merged commit f88a36a into master Dec 13, 2024
5 checks passed
@MartinKolarik MartinKolarik deleted the adoptions-sync-2 branch December 13, 2024 15:47
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.

Prevent IP / alt IP conflicts
2 participants