Skip to content

Commit cb26df6

Browse files
authored
Merge pull request #11 from innogames/max_nodes
Max nodes
2 parents 21525b9 + c135ead commit cb26df6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bsd_port/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ LIB_DEPENDS= libyaml-cpp.so:devel/yaml-cpp
1212

1313
BUILD_DEPENDS= ${NONEXISTENT}:devel/libevent \
1414
${NONEXISTENT}:devel/boost-libs \
15-
${NONEXISTENT}:databases/postgresql95-client \
15+
${NONEXISTENT}:databases/postgresql96-client \
1616
${NONEXISTENT}:devel/nlohmann-json \
1717
${NONEXISTENT}:devel/googletest \
1818
${NONEXISTENT}:devel/libfmt

src/pfctl_worker.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ using namespace boost::interprocess;
2222
// 120ms. Optimal lenght would be 16. Keep it a bit shorter in case operations
2323
// take way longer, for example when HWLB is under a DDoS.
2424
#define QUEUE_LEN 10
25-
#define MAX_NODES 20 // I hope 20 LB Nodes is reasonable enough
25+
#define MAX_NODES 100 // I hope 100 LB Nodes is reasonable enough
2626
#define ADDR_LEN sizeof("FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:255.255.255.255") + 1
2727

2828
message_queue *start_pfctl_worker();

0 commit comments

Comments
 (0)