[tor-bugs] #16907 [Onionoo]: Stop returning a 500 Internal Server Error when the hourly updater has not run for 6+ hours

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Jan 7 14:43:47 UTC 2016


#16907: Stop returning a 500 Internal Server Error when the hourly updater has not
run for 6+ hours
-------------------------+------------------------------
 Reporter:  karsten      |          Owner:
     Type:  enhancement  |         Status:  needs_review
 Priority:  Medium       |      Milestone:
Component:  Onionoo      |        Version:
 Severity:  Normal       |     Resolution:
 Keywords:               |  Actual Points:
Parent ID:               |         Points:
  Sponsor:               |
-------------------------+------------------------------

Comment (by virgil):

 I propose adding a new query parameter, allow_stale=1, which will always
 return a HTTP 200 if there's any content, and spit out any stale content.

 If allow_stale is not specified (or set to 0), then the current behavior
 is kept as-is, i.e., it spits out big nasty error if content is more than
 6h stale.

 As a core Tor service, 6h is a long time for content to be stale.  Things
 breaking after 6h makes people upset enough to complain about fixing it.
 And motivates us to fix it.  If instead they don't care much about
 freshness we simply spit-out the stale.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/16907#comment:16>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list