alpha
Login
or
Join now
solpbc.org
/
aerie
Star
23
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
cloudflare-native port of the tangled knot server
Star
23
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
aerie
/
deploy
/
cloudflare
/
cmd
/
aerie-entrypoint
/
at
main
2 files
Jer Miller
aerie-entrypoint: skip R2 DB restore/checkpoint/upload in D1 mode
4mo ago
c4eddb3a
main.go
aerie-entrypoint: skip R2 DB restore/checkpoint/upload in D1 mode When KNOT_SERVER_DB_BACKEND=d1, the knot database lives in D1 rather than the R2 snapshot managed by PID 1. Skip the DB restore path on startup and skip checkpoint/read/upload on shutdown in that mode, while still preparing the repo scan path, mounting tigrisfs, and running the knot process. Keep the SIGTERM to timeout to SIGKILL escape hatch for both modes. Promote shutdownWait to Entrypoint state so tests can exercise the timeout path without waiting for the production 60 second default. Patch category: aerie-distribution Signed-off-by: Jer Miller <jer@solpbc.org>
4 months ago
main_test.go
aerie-entrypoint: skip R2 DB restore/checkpoint/upload in D1 mode When KNOT_SERVER_DB_BACKEND=d1, the knot database lives in D1 rather than the R2 snapshot managed by PID 1. Skip the DB restore path on startup and skip checkpoint/read/upload on shutdown in that mode, while still preparing the repo scan path, mounting tigrisfs, and running the knot process. Keep the SIGTERM to timeout to SIGKILL escape hatch for both modes. Promote shutdownWait to Entrypoint state so tests can exercise the timeout path without waiting for the production 60 second default. Patch category: aerie-distribution Signed-off-by: Jer Miller <jer@solpbc.org>
4 months ago