forked from proftpd/proftpd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue proftpd#1484: Update scoreboard at regular time intervals
This commit removes the previously used blocksize or filesize percentage based scoreboard updates and starts using elapsed time based scoreboard updates. Percent based scoreboard updates could have been too infrequent for big files and slow link speeds, blocksize based scoreboard updates could have been too frequent for fast links. Also this changes the meaning of PR_TUNABLE_XFER_SCOREBOARD_UPDATES, previously it meant the number of transferred blocks to wait until a scoreboard update happened, now it means the number of deciseconds to wait between subsequent scoreboard updates. Deciseconds as the unit were chosen so the default of PR_TUNABLE_XFER_SCOREBOARD_UPDATES of 10 is unchanged and will mean a scoreboard update every second.
- Loading branch information
Showing
4 changed files
with
11 additions
and
26 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
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
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
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