Opened 4 years ago

Closed 4 years ago

#17887 closed defect (implemented)

Let fallback script use day-old data

Reported by: teor Owned by:
Priority: Medium Milestone: Tor: 0.2.8.x-final
Component: Core Tor/Tor Version:
Severity: Normal Keywords: TorCoreTeam201601
Cc: karsten Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


In #16907, Onionoo will be updated to return a 504 error when data is more than 6 hours old. karsten also notes that Onionoo was down for 10 hours doing backups.

If we're updating fallback directories for a release, we don't want to wait for Onionoo. So if there's cached data younger than a day, or if the data is stale and younger than a day, we'll use it.

I'll post a patch to this once I have the number.

Child Tickets

Change History (5)

comment:1 Changed 4 years ago by teor

Status: newneeds_review

Please see my branch bug17887 in

This is a python-only change.

comment:2 Changed 4 years ago by teor

Status: needs_reviewneeds_revision

#16907 won't be changing the status code. Instead, karsten intends to return 200 no matter how old the data is.

I need to remove the status code check from the patch above. The rest should work as-is.

comment:3 Changed 4 years ago by karsten

Cc: karsten added

comment:4 Changed 4 years ago by teor

Keywords: TorCoreTeam201601 added
Status: needs_revisionneeds_review

Please see my branch bug17887-v2, which checks if cached, not-modified, or freshly downloaded OnionOO data is less than a day old.

comment:5 Changed 4 years ago by nickm

Resolution: implemented
Status: needs_reviewclosed


Note: See TracTickets for help on using tickets.