forked from sonic-net/sonic-buildimage
-
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.
Load interval from thermal_policy.json (sonic-net#178)
Description Update ThermalManagerBase to load an interval field from thermal_policy.json if it is available and provide a getter for this interval. Motivation and Context This interval can be used by thermalctld to run policies at an interval specified in thermal_policy.json, rather than a fixed constant (currently 60 seconds). How Has This Been Tested? Verified that thermalctld runs without exiting. Also ran test_thermalctld.py
- Loading branch information
1 parent
c43dc17
commit bd694b2
Showing
1 changed file
with
16 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