d7b801b4

Author: Michael Lynch <git@mtlynch.io>

Committer: Michael Lynch <mtlynch@noreply.codeberg.org>

Simplify Litestream configuration (#349)

Litestream 0.5.11 reads LITESTREAM_ACCESS_KEY_ID and
LITESTREAM_SECRET_ACCESS_KEY directly from the environment, so expanding
those variables into the config duplicated its credential discovery
mechanism. The deployment and maintenance scripts already export both
variables.

The configured Backblaze B2 endpoint is automatically detected by
Litestream 0.5.11, which enables path-style S3 addressing. Keeping
force-path-style explicitly set therefore provides no additional
behavior.

Retain the replica location, sync policy, validation policy, snapshot
retention, and restore-if-db-not-exists configuration. These settings
express this application's backup and recovery requirements.

Reviewed-on: https://codeberg.org/mtlynch/little-moments/pulls/349

Suite timing

Time to Start Worker time Duration Time to finish Idle
Config 2s 9s 9s 12s 2s
Eval 9s 28s 28s 37s 0s
Build 22s 6m29s 1m44s 2m06s 0s
Deploy 2m41s 3m08s 3m08s 5m50s 35s
Suite 2s 10m16s 5m48s 5m50s 37s

Timeline

0s1m2m3m4m5m