mirror of
https://github.com/bitbaum/solon.git
synced 2026-12-04 04:27:02 +01:00
Round 1 of the Parliament texts stored 40 and then lost the tunnel ('Connection terminated unexpectedly'; rsync: port 22 refused). Keepalives were already set, so a longer outage needs a new tunnel:
- ensure_tunnel re-opens the tunnel before every batch, waiting up to ten minutes for the box
- a batch that dies on a lost connection is retried twice (loads are resumable)
- snapshots are copied after every batch, so a late failure loses nothing