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