- Change GetRandomPrefixesByLength to return unique prefixes instead of all routes - Use CTE to first select random unique prefixes, then join to get their latest route info - This ensures each prefix appears only once in the list |
||
|---|---|---|
| .. | ||
| database_test.go | ||
| database.go | ||
| interface.go | ||
| models.go | ||
| schema.sql | ||
| slowquery.go | ||
| utils.go | ||