-
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.
Convert configuration and status to YAML.
A --check flag is added to the main entrypoint. Other flags are moved to the config file. The pool can now provide and interruptable, blocking Wait option. Connections can be forced away to other backends after a timeout. Close #4
- Loading branch information
Showing
27 changed files
with
540 additions
and
434 deletions.
There are no files selected for viewing
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
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
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
This file was deleted.
Oops, something went wrong.
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,40 @@ | ||
# This is a trivial configuration that presents a local CockroachDB | ||
# cluster as a unified endpoint. | ||
diagAddr: 127.0.0.1:6060 | ||
frontends: | ||
- backendPool: | ||
tiers: | ||
- dialFailureTimeout: 30s | ||
maxBackendConnections: 32 | ||
targets: | ||
- hosts: | ||
- 127.0.0.1 | ||
port: 26258 | ||
- hosts: | ||
- 127.0.0.1 | ||
port: 26259 | ||
- hosts: | ||
- 127.0.0.1 | ||
port: 26260 | ||
bindAddress: 127.0.0.1:26257 | ||
idleDuration: 1h | ||
- backendPool: | ||
tiers: | ||
- dialFailureTimeout: 30s | ||
maxBackendConnections: 0 | ||
targets: | ||
- hosts: | ||
- 127.0.0.1 | ||
port: 8081 | ||
- hosts: | ||
- 127.0.0.1 | ||
port: 8082 | ||
- dialFailureTimeout: 30s | ||
maxBackendConnections: 0 | ||
targets: | ||
- hosts: | ||
- 127.0.0.1 | ||
port: 8083 | ||
bindAddress: 127.0.0.1:8080 | ||
idleDuration: 1h | ||
gracePeriod: 30s |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.