-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add settings for the hash table of the load balancer session states in dataplane.conf
#93
Conversation
Fixes issue #90 |
b34d391
to
66b4403
Compare
@@ -7,7 +7,6 @@ | |||
#include <unistd.h> | |||
|
|||
#include <fstream> | |||
#include <iostream> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unused
@@ -1,7 +1,5 @@ | |||
#include <memory.h> | |||
|
|||
#include <string> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unused
@@ -2,7 +2,6 @@ | |||
#include <netinet/ip_icmp.h> | |||
|
|||
#include <string> | |||
#include <thread> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unused
@@ -6,7 +6,6 @@ | |||
#include "common/counters.h" | |||
#include "common/fallback.h" | |||
|
|||
#include "controlplane.h" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unused
@@ -1,6 +1,5 @@ | |||
#pragma once | |||
|
|||
#include <list> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unused
66b4403
to
7f03734
Compare
Adding two new parameters to the
dataplane.conf
'sconfigValues
section:balancer_state_ttl
: session lifetime in the table after passing the last network packet;balancer_state_ht_size
: size of the sessions hash table; the value must be a power of2
and at least16
.