-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change spooler timeout flush to happen after lastFlush + timeout (#2371)
In the previous code, the flush always happened after timeout, independent if a flush just happened before. This could lead to unnecessary flushes. In case the spooler is full and data is flushed, the ticker will be reset. Previously the ticker was set to timeout/2. Now it is timeout.
- Loading branch information
Showing
1 changed file
with
28 additions
and
28 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