Browse Source

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.
kɜ:ʳ cybredragon 1 week ago
parent
commit
4cd4a2664b
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      app/services/backup_service.rb

+ 1
- 0
app/services/backup_service.rb View File

@@ -143,6 +143,7 @@ class BackupService < BaseService
143 143
       end
144 144
     end
145 145
   rescue Errno::ENOENT
146
+  rescue Seahorse::Client::NetworkingError
146 147
     Rails.logger.warn "Could not backup file #{filename}: file not found"
147 148
   end
148 149
 end

Loading…
Cancel
Save