summaryrefslogtreecommitdiff
path: root/src/or/directory.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-12-23 17:56:31 +0000
committerNick Mathewson <nickm@torproject.org>2008-12-23 17:56:31 +0000
commit558e9899e4d11d8ef194e5bc1761d5d2f6dff450 (patch)
tree45eb50017f2b65c70babf90b3c088a3c952ce6de /src/or/directory.c
parentd7f55dafe0287c1a8c13478c4e077da65533769c (diff)
downloadtor-558e9899e4d11d8ef194e5bc1761d5d2f6dff450.tar.gz
tor-558e9899e4d11d8ef194e5bc1761d5d2f6dff450.zip
Document most undocumented variables.
svn:r17754
Diffstat (limited to 'src/or/directory.c')
-rw-r--r--src/or/directory.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index 250fd7ee54..b383ad5e89 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -3268,19 +3268,19 @@ dir_networkstatus_download_failed(smartlist_t *failed, int status_code)
});
}
-/* DOCDOC server_dl_schedule */
+/** Schedule for when servers should download things in general. */
static const int server_dl_schedule[] = {
0, 0, 0, 60, 60, 60*2, 60*5, 60*15, INT_MAX
};
-/* DOCDOC client_dl_schedule */
+/** Schedule for when clients should download things in general. */
static const int client_dl_schedule[] = {
0, 0, 60, 60*5, 60*10, INT_MAX
};
-/* DOCDOC server_consensus_dl_schedule */
+/** Schedule for when servers should download consensuses. */
static const int server_consensus_dl_schedule[] = {
0, 0, 60, 60*5, 60*10, 60*30, 60*30, 60*30, 60*30, 60*30, 60*60, 60*60*2
};
-/* DOCDOC client_consensus_dl_schedule */
+/** Schedule for when clients should download consensuses. */
static const int client_consensus_dl_schedule[] = {
0, 0, 60, 60*5, 60*10, 60*30, 60*60, 60*60, 60*60, 60*60*3, 60*60*6, 60*60*12
};