Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BackupClientDirectoryRecord::UpdateItems: retry on EINTR
Receiving an EINTR usually means that the process received a signal. Depending on the signal, that might mean that we need to stop, or simply that a timer expired and we need to send a heartbeat at the next opportunity. If we haven't been asked to stop, retry the same upload an arbitrary number of times. If the keepalive time is too short, we will still fail after 10 times, but at least now we will log a more helpful error message.
- Loading branch information
Showing
1 changed file
with
32 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters