Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6bed1fda98 | ||
|
|
200997761a | ||
|
|
18b4ee38aa | ||
|
|
721502c7b8 |
@@ -66,8 +66,3 @@
|
|||||||
.gitignore
|
.gitignore
|
||||||
/bin
|
/bin
|
||||||
/data
|
/data
|
||||||
|
|
||||||
# Local config files, kept out of git because they can hold the signing key.
|
|
||||||
**/[cC][oO][nN][fF][iI][gG].[yY][mM][lL]
|
|
||||||
**/[cC][oO][nN][fF][iI][gG].[yY][aA][mM][lL]
|
|
||||||
**/[cC][oO][nN][fF][iI][gG].[dD][eE][vV].[yY][mM][lL]
|
|
||||||
|
|||||||
@@ -37,6 +37,5 @@ node_modules/
|
|||||||
*.sqlite3
|
*.sqlite3
|
||||||
|
|
||||||
# Local dev configs
|
# Local dev configs
|
||||||
config.yml
|
|
||||||
config.yaml
|
config.yaml
|
||||||
config.dev.yml
|
config.dev.yml
|
||||||
|
|||||||
@@ -46,18 +46,6 @@ P2: security: per-IP rate limiting on the image routes
|
|||||||
not pixad's limit); `miss` 70 r/s, p50 52 ms, p95 91 ms, p99 122 ms, peak 100
|
not pixad's limit); `miss` 70 r/s, p50 52 ms, p95 91 ms, p99 122 ms, peak 100
|
||||||
MiB, one fetch per request; `herd` 74 r/s, p50 52 ms, p95 69 ms, p99 111 ms,
|
MiB, one fetch per request; `herd` 74 r/s, p50 52 ms, p95 69 ms, p99 111 ms,
|
||||||
peak 60 MiB, 188 fetches for 749 requests.
|
peak 60 MiB, 188 fetches for 749 requests.
|
||||||
- 2026-10-04 `config.yml` stays out of git and the Docker build context (closes
|
|
||||||
#212): `.gitignore` now ignores `config.yml`, the config file Getting Started
|
|
||||||
creates with the signing key, and `.dockerignore` leaves it out in every
|
|
||||||
directory and in any letter case, as it already did `config.yaml` and
|
|
||||||
`config.dev.yml`.
|
|
||||||
- 2026-10-04 local config files stay out of the Docker build context (closes
|
|
||||||
#211): `.dockerignore` now leaves out `config.yaml` and `config.dev.yml` in
|
|
||||||
every directory and in any letter case, the local config files `.gitignore`
|
|
||||||
keeps out of git because they can hold the signing key.
|
|
||||||
`configs/config.example.yml` is still sent. `config.yml`, which Getting
|
|
||||||
Started creates, is in neither file:
|
|
||||||
https://git.eeqj.de/sneak/pixa/issues/212.
|
|
||||||
- 2026-10-04 `cmd/pixad/main.go` is one call into `internal/` (closes #206):
|
- 2026-10-04 `cmd/pixad/main.go` is one call into `internal/` (closes #206):
|
||||||
what it did (the command line and its `--config` flag, setting
|
what it did (the command line and its `--config` flag, setting
|
||||||
`PIXA_CONFIG_PATH`, ignoring `SIGPIPE`, starting the fx app) is now `Run` in
|
`PIXA_CONFIG_PATH`, ignoring `SIGPIPE`, starting the fx app) is now `Run` in
|
||||||
|
|||||||
+1
-3
@@ -51,10 +51,8 @@ main() {
|
|||||||
"" | *[!0-9]*) usage ;;
|
"" | *[!0-9]*) usage ;;
|
||||||
esac
|
esac
|
||||||
[ "$number" -gt 0 ] || usage
|
[ "$number" -gt 0 ] || usage
|
||||||
# The number of clients is a whole number that does not start with 0,
|
|
||||||
# which also refuses zero: vegeta reads a leading 0 as octal.
|
|
||||||
case "$clients" in
|
case "$clients" in
|
||||||
*[!0-9]* | 0*) usage ;;
|
*[!0-9]* | 0) usage ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
cd "$ROOT"
|
cd "$ROOT"
|
||||||
|
|||||||
Reference in New Issue
Block a user