[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs