Update comment in router_differences_are_cosmetic()

Descriptor differences are cosmetic if 2 hours has passed,
not 12 hours (see ticket 33573).
This commit is contained in:
Steven Engler 2020-03-09 10:13:36 -04:00 committed by GitHub
parent 8096f3b254
commit 4b964ef5b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2922,7 +2922,7 @@ router_differences_are_cosmetic(const routerinfo_t *r1, const routerinfo_t *r2)
(r1->bandwidthburst != r2->bandwidthburst))
return 0;
/* Did more than 12 hours pass? */
/* Has enough time passed between the publication times? */
if (r1->cache_info.published_on + ROUTER_MAX_COSMETIC_TIME_DIFFERENCE
< r2->cache_info.published_on)
return 0;