forked from zanfranceschi/rinha-de-backend-2024-q1
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing file to asfernandes-cpp-haproxy-mongoose-firebird
- Loading branch information
1 parent
bda43e5
commit fa57a2d
Showing
2 changed files
with
20 additions
and
2 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
participantes/asfernandes-cpp-haproxy-mongoose-firebird/config/haproxy.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
global | ||
maxconn 4000 | ||
|
||
defaults | ||
mode tcp | ||
timeout client 10s | ||
timeout connect 5s | ||
timeout server 10s | ||
timeout http-request 10s | ||
|
||
frontend frontend | ||
mode tcp | ||
bind *:9999 | ||
default_backend backend | ||
|
||
backend backend | ||
mode tcp | ||
balance roundrobin | ||
server api-1 127.0.0.1:9997 | ||
server api-2 127.0.0.1:9998 |
2 changes: 0 additions & 2 deletions
2
participantes/asfernandes-cpp-haproxy-mongoose-firebird/testada
This file was deleted.
Oops, something went wrong.