* [PATCH 2/2] examples/*@.service: wait one day for graceful shutdown
2016-06-19 10:20 5% [PATCH 0/2] robustness improvements Eric Wong
@ 2016-06-19 10:20 7% ` Eric Wong
0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2016-06-19 10:20 UTC (permalink / raw)
To: meta
Because sometimes folks will want to download gigantic mboxes
or make large clones over Tor which are not resume-friendly.
Note: the timeout logic in nntpd is somewhat over-aggressive
and can break some large slrnpulls. This ought to be easily
recoverable on the client-side, though, since it's based on
per-message fetches.
---
examples/public-inbox-httpd@.service | 2 +-
examples/public-inbox-nntpd@.service | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/examples/public-inbox-httpd@.service b/examples/public-inbox-httpd@.service
index 6222de5..4efea2a 100644
--- a/examples/public-inbox-httpd@.service
+++ b/examples/public-inbox-httpd@.service
@@ -23,7 +23,7 @@ KillSignal = SIGQUIT
User = nobody
Group = nogroup
ExecReload = /bin/kill -HUP $MAINPID
-TimeoutStopSec = 3600
+TimeoutStopSec = 86400
KillMode = process
[Install]
diff --git a/examples/public-inbox-nntpd@.service b/examples/public-inbox-nntpd@.service
index 3e203e0..bdd9734 100644
--- a/examples/public-inbox-nntpd@.service
+++ b/examples/public-inbox-nntpd@.service
@@ -25,7 +25,7 @@ KillSignal = SIGQUIT
User = nobody
Group = nogroup
ExecReload = /bin/kill -HUP $MAINPID
-TimeoutStopSec = 3600
+TimeoutStopSec = 86400
KillMode = process
[Install]
^ permalink raw reply related [relevance 7%]
* [PATCH 0/2] robustness improvements
@ 2016-06-19 10:20 5% Eric Wong
2016-06-19 10:20 7% ` [PATCH 2/2] examples/*@.service: wait one day for graceful shutdown Eric Wong
0 siblings, 1 reply; 2+ results
From: Eric Wong @ 2016-06-19 10:20 UTC (permalink / raw)
To: meta
Because I care about users downloading over 300 MB from
the all.mbox.gz endpoint over Tor or cloning nearly
800 MB over git.
It would be nice to be able to resume when a disconnect
does happen, however...
Eric Wong (2):
search: reopen and retry on updated databases
examples/*@.service: wait one day for graceful shutdown
examples/public-inbox-httpd@.service | 2 +-
examples/public-inbox-nntpd@.service | 2 +-
lib/PublicInbox/Search.pm | 35 ++++++++++++++++++++++-------------
3 files changed, 24 insertions(+), 15 deletions(-)
^ permalink raw reply [relevance 5%]
Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2016-06-19 10:20 5% [PATCH 0/2] robustness improvements Eric Wong
2016-06-19 10:20 7% ` [PATCH 2/2] examples/*@.service: wait one day for graceful shutdown Eric Wong
Code repositories for project(s) associated with this public inbox
https://80x24.org/public-inbox.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).