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
891969f5
Commit
891969f5
authored
8 years ago
by
Adrien Béraud
Browse files
Options
Downloads
Patches
Plain Diff
node: reduce max response time to 1s
parent
e68a2fd9
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/opendht/node.h
+1
-1
1 addition, 1 deletion
include/opendht/node.h
with
1 addition
and
1 deletion
include/opendht/node.h
+
1
−
1
View file @
891969f5
...
...
@@ -87,7 +87,7 @@ struct Node {
static
constexpr
const
std
::
chrono
::
minutes
NODE_EXPIRE_TIME
{
10
};
/* Time for a request to timeout */
static
constexpr
const
std
::
chrono
::
seconds
MAX_RESPONSE_TIME
{
3
};
static
constexpr
const
std
::
chrono
::
seconds
MAX_RESPONSE_TIME
{
1
};
private
:
...
...
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