aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-service-fs_pr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/gnunet-service-fs_pr.c')
-rw-r--r--src/fs/gnunet-service-fs_pr.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/fs/gnunet-service-fs_pr.c b/src/fs/gnunet-service-fs_pr.c
index ac183a980..3b43b4c5f 100644
--- a/src/fs/gnunet-service-fs_pr.c
+++ b/src/fs/gnunet-service-fs_pr.c
@@ -32,6 +32,21 @@
32#include "gnunet-service-fs_pr.h" 32#include "gnunet-service-fs_pr.h"
33 33
34/** 34/**
35 * Maximum size of the datastore queue for P2P operations. Needs to
36 * be large enough to queue MAX_QUEUE_PER_PEER operations for roughly
37 * the number of active (connected) peers.
38 */
39#define MAX_DATASTORE_QUEUE (16 * MAX_QUEUE_PER_PEER)
40
41/**
42 * Bandwidth value of a 0-priority content (must be fairly high
43 * compared to query since content is typically significantly larger
44 * -- and more valueable since it can take many queries to get one
45 * piece of content).
46 */
47#define CONTENT_BANDWIDTH_VALUE 800
48
49/**
35 * Hard limit on the number of results we may get from the datastore per query. 50 * Hard limit on the number of results we may get from the datastore per query.
36 */ 51 */
37#define MAX_RESULTS (100 * 1024) 52#define MAX_RESULTS (100 * 1024)