Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
481423e6ec |
@@ -24,11 +24,10 @@ latest run passes.
|
|||||||
# Completed Steps
|
# Completed Steps
|
||||||
|
|
||||||
- 2026-09-29: report file names can no longer collide (issue #61): each is
|
- 2026-09-29: report file names can no longer collide (issue #61): each is
|
||||||
`reports-<timestamp>-<number>.jsonl.zst`, where the number goes up by one for
|
`reports-<timestamp>-<number>.jsonl.zst`, where the number counts the files
|
||||||
each file the server starts to write, so two flushes in the same millisecond,
|
written since the server started, so two flushes in the same millisecond, such
|
||||||
such as a flush for size and the final flush at shutdown, each get a file of
|
as a flush for size and the final flush at shutdown, each get a file of their
|
||||||
their own instead of the second one failing. A failed write leaves a gap in
|
own instead of the second one failing
|
||||||
the numbers.
|
|
||||||
- 2026-09-29: nginx listens on `PORT` (issue #26), 8080 when unset or empty: the
|
- 2026-09-29: nginx listens on `PORT` (issue #26), 8080 when unset or empty: the
|
||||||
nginx image renders `nginx.conf` as a template at container start, filling in
|
nginx image renders `nginx.conf` as a template at container start, filling in
|
||||||
`PORT` and no other variable. `bin/entrypoint.sh` refuses to start when `PORT`
|
`PORT` and no other variable. `bin/entrypoint.sh` refuses to start when `PORT`
|
||||||
|
|||||||
+4
-5
@@ -104,11 +104,10 @@ which `netwatch` owns.
|
|||||||
|
|
||||||
Reports are written as `reports-<timestamp>-<number>.jsonl.zst` files in
|
Reports are written as `reports-<timestamp>-<number>.jsonl.zst` files in
|
||||||
`DATA_DIR`. The timestamp is in UTC to the millisecond, so the names sort by
|
`DATA_DIR`. The timestamp is in UTC to the millisecond, so the names sort by
|
||||||
time. The number starts at 1 when the server starts and goes up by one for each
|
time; the number counts the files the server has written since it started, so
|
||||||
file the server starts to write, so two files written in the same millisecond
|
two files written in the same millisecond still get different names. Each file
|
||||||
still get different names, and a failed write leaves a gap in the numbers. Each
|
contains one JSON object per line, compressed with zstd. Files are created with
|
||||||
file contains one JSON object per line, compressed with zstd. Files are created
|
`O_EXCL` to prevent overwrites.
|
||||||
with `O_EXCL` to prevent overwrites.
|
|
||||||
|
|
||||||
### Report limits
|
### Report limits
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user