]> cat aescling's git repositories - mastodon.git/commit
Fix backups stopping due to read timeouts (#12281)
authorchr v1.x <chr@cybre.space>
Mon, 30 Dec 2019 02:17:54 +0000 (18:17 -0800)
committerEugen Rochko <eugen@zeonfederated.com>
Mon, 30 Dec 2019 02:17:54 +0000 (03:17 +0100)
commit7e074610a6651d499267e976f45aadce8cd60d96
treee8399ee24585bde9e856219c31bacefce0740ace
parent7a81346d5557053425bc8cf942b05eff0e93fe15
Fix backups stopping due to read timeouts (#12281)

* Make BackupService resilient to read timeouts

If an attachment read times out, assume that the resources is
inaccessible and continue the backup without it. This fixes #12280.

* Both errors on one line
app/services/backup_service.rb