start tuwunel after the container is up, under its own 30 min limit
This commit is contained in:
parent
7ae1b42fd9
commit
ba0f9c6264
2 changed files with 220 additions and 3 deletions
|
|
@ -37,6 +37,14 @@ Same shape as [`gateway.md::hive-forge container shape`](../../4-implementation/
|
|||
write-ahead logs pin far more disk than they hold there. On any other
|
||||
filesystem tuwunel's default stays. A probe that can't decide says why in
|
||||
the journal (`tuwunel-fallocate-probe:`) and leaves the default.
|
||||
- tuwunel starts after the container is up, not during its boot. The
|
||||
container's start job (`container@hive-matrix.service`, one minute) ends when
|
||||
the guest's boot does, and a oneshot in the guest starts tuwunel without
|
||||
waiting for it. tuwunel's own start, which replays the database's
|
||||
write-ahead log from the beginning at every open, has its own limit of 30
|
||||
minutes, and extends it while it reports progress. While it starts, the
|
||||
gateway answers for the homeserver with an error, and the swarm's matrix
|
||||
clients retry.
|
||||
|
||||
## Identity vs API listener: `serverName` vs `gatewayHost`
|
||||
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ Tests that boot NixOS VMs are the `vmTests.<system>.<name>` flake output
|
|||
builds them. It does build the `vm-test-typecheck-<name>` checks
|
||||
(`nix/vm-test-typecheck.nix`): the type check and lint the test driver runs over
|
||||
a test script, on the script text alone. They evaluate no node configuration
|
||||
and build no VM. They cover all eight tests. `semi-spread` and `swarm-builder-offline`
|
||||
and build no VM. They cover every test. `semi-spread` and `swarm-builder-offline`
|
||||
read node config or an agent toplevel into their script, so each builds the script
|
||||
with stand-in values (`passthru.typecheckScript`), from the same function as the real
|
||||
one.
|
||||
|
|
|
|||
Loading…
Reference in a new issue