forked from PelicanPlatform/pelican
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Assign bounded random coord for unknown client addresses
This assigns a random lat/long bounded within the contiguous US whenever the Director is unable to determine where the client is coming from. We're moving to this because the next step is to cache the assignment so that clients who fall into this trap can improve follow-up reads through Pelican caches, and because most of our client base falls within that box (and don't want to be redirected to caches in the UK, Russia, or Singapore).
- Loading branch information
1 parent
26df5cc
commit 603453f
Showing
2 changed files
with
100 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters