aboutsummaryrefslogtreecommitdiff
path: root/src/feature/hibernate
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-11-04 17:07:38 -0500
committerNick Mathewson <nickm@torproject.org>2019-11-04 17:07:38 -0500
commita33d1dce8affdaef7d84a6cc2c23c3821192cb87 (patch)
tree89dd783a339f0152b912913595661805326b572c /src/feature/hibernate
parente1cdca2e4f58c108539fe4c36205b16caca8d44f (diff)
downloadtor-a33d1dce8affdaef7d84a6cc2c23c3821192cb87.tar.gz
tor-a33d1dce8affdaef7d84a6cc2c23c3821192cb87.zip
directory-level documentation for feature/*
Diffstat (limited to 'src/feature/hibernate')
-rw-r--r--src/feature/hibernate/feature_hibernate.dox14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/feature/hibernate/feature_hibernate.dox b/src/feature/hibernate/feature_hibernate.dox
index 55d89d1c22..eebb2d51a2 100644
--- a/src/feature/hibernate/feature_hibernate.dox
+++ b/src/feature/hibernate/feature_hibernate.dox
@@ -1,4 +1,16 @@
/**
@dir /feature/hibernate
-@brief feature/hibernate
+@brief feature/hibernate: Bandwidth accounting and hibernation (!)
+
+This module implements two features that are only somewhat related, and
+should probably be separated in the future. One feature is bandwidth
+accounting (making sure we use no more than so many gigabytes in a day) and
+hibernation (avoiding network activity while we have used up all/most of our
+configured gigabytes). The other feature is clean shutdown, where we stop
+accepting new connections for a while and give the old ones time to close.
+
+The two features are related only in the sense that "soft hibernation" (being
+almost out of ) is very close to the "shutting down" state. But it would be
+better in the long run to make the two completely separate.
+
**/