Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUG FIX] Call push_freq_mgr_.next() for next push period
Summary: The bug is that the next sampling time returns the next push time. Because push time were never updated, the sampling time will be always 0, which means the iteration will be repeating without any sleep, thus increases cpu usage. Test Plan: Jenkins Reviewers: #stirling, oazizi Reviewed By: #stirling, oazizi Differential Revision: https://phab.corp.pixielabs.ai/D8916 GitOrigin-RevId: fb11e0b
- Loading branch information
1 parent
3c2a5fb
commit 4f85e7a
Showing
2 changed files
with
29 additions
and
1 deletion.
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