[Box Backup-commit] [boxbackup/boxbackup] 0a3922: Loosen timing tolerance by reducing MaxUploadWait

GitHub noreply at github.com
Sun May 13 12:25:48 BST 2018


  Branch: refs/heads/s3_support
  Home:   https://github.com/boxbackup/boxbackup
  Commit: 0a3922c12f2f8a21fc76930cc0cadf70e1749785
      https://github.com/boxbackup/boxbackup/commit/0a3922c12f2f8a21fc76930cc0cadf70e1749785
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2018-05-13 (Sun, 13 May 2018)

  Changed paths:
    M test/bbackupd/testbbackupd.cpp
    M test/bbackupd/testfiles/bbackupd.conf.in

  Log Message:
  -----------
  Loosen timing tolerance by reducing MaxUploadWait

Before, we only had 1 second tolerance (we stopped updating the file 1 second
before bbackupd would run to back it up) and if bbackupd ran at the wrong time
(just before a second boundary) and lost time so that it went over that second
boundary, then it would backup the file one run earlier than the test expected.

Increasing the tolerance by 1 second should make that really unlikely.



      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the Boxbackup-commit mailing list