[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
Tue Dec 22 06:45:03 UTC 2015


#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):

 As I understand it, the desired behavior is to:

  1. Spit out the stale results.
  1. Somehow signify the results are stale.



 Respectfully, a different status code seems to easiest way of doing this.
 The alternative is to have something like "isStale = True" somewhere in
 the content itself.  And sure this alternative would work just fine.  But
 IMHO it seems easier just to change the metadata for the content (i.e.,
 the returned status code) than the content itself. However, I wholly defer
 to your (Karsten's) judgement.

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


More information about the tor-bugs mailing list