summaryrefslogtreecommitdiff
path: root/DESIGN
diff options
context:
space:
mode:
Diffstat (limited to 'DESIGN')
-rw-r--r--DESIGN9
1 files changed, 9 insertions, 0 deletions
diff --git a/DESIGN b/DESIGN
index eb8679e..35928b4 100644
--- a/DESIGN
+++ b/DESIGN
@@ -103,6 +103,15 @@ ordinary announce interval is a constant too and an operator has nothing to
103measure a different value against. Over HTTP a refusal stays a failure 103measure a different value against. Over HTTP a refusal stays a failure
104reason, which is the only place a user is told why. 104reason, which is the only place a user is told why.
105 105
106The state file keeps a wall clock minute, and it is the only thing in the
107tracker that reads that clock. Everything else runs off a monotonic one,
108where a time step cannot evict a swarm, but a file outlives the process that
109wrote it and minutes since this boot mean nothing to the next run. So the
110dump converts on the way out and load_state converts on the way back in, and
111what lands on disk is the format opentracker has written for years. A step
112between writing and reading mis-dates a torrent by the size of the step,
113which costs it part of its last day and nothing else.
114
106Startup and teardown order 115Startup and teardown order
107-------------------------- 116--------------------------
108 117