Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
opendht
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
opendht
Commits
38a7234a
Commit
38a7234a
authored
3 years ago
by
Adrien Béraud
Browse files
Options
Downloads
Patches
Plain Diff
dht: increase max hashes to 1G
parent
115a0c68
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/opendht/dht.h
+1
-1
1 addition, 1 deletion
include/opendht/dht.h
with
1 addition
and
1 deletion
include/opendht/dht.h
+
1
−
1
View file @
38a7234a
...
@@ -343,7 +343,7 @@ private:
...
@@ -343,7 +343,7 @@ private:
static
constexpr
unsigned
LISTEN_NODES
{
4
};
static
constexpr
unsigned
LISTEN_NODES
{
4
};
/* The maximum number of hashes we're willing to track. */
/* The maximum number of hashes we're willing to track. */
static
constexpr
unsigned
MAX_HASHES
{
1024
*
1024
};
static
constexpr
unsigned
MAX_HASHES
{
1024
*
1024
*
1024
};
/* The maximum number of searches we keep data about. */
/* The maximum number of searches we keep data about. */
static
constexpr
unsigned
MAX_SEARCHES
{
1024
*
1024
};
static
constexpr
unsigned
MAX_SEARCHES
{
1024
*
1024
};
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment