start tuwunel after the container is up, under its own 30 min limit
This commit is contained in:
parent
7ae1b42fd9
commit
ba0f9c6264
1 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`
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue