mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-29 12:50:43 +00:00
(mds) changed refresh time from 1.5 seconds to 5 minutes.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@717 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
8fe6d49887
commit
ac7ace0484
2 files changed
+4
-1
No files matched your search
@@ -68,6 +68,9 @@ example, have serial EEPROMs in them connected to the SMBus which will be
|
||||
found by the module. Take care to ignore the output of decode_dimms.pl for
|
||||
these EEPROMs.
|
||||
|
||||
The driver caches the data from the monitor and only rereads it
|
||||
from the eeprom if the cache is more than 5 minutes old.
|
||||
|
||||
|
||||
DECODE_DIMMS.PL
|
||||
---------------
|
||||
|
||||
@@ -319,7 +319,7 @@ void eeprom_update_client(struct i2c_client *client)
|
||||
|
||||
down(&data->update_lock);
|
||||
|
||||
if ((jiffies - data->last_updated > HZ + HZ / 2) ||
|
||||
if ((jiffies - data->last_updated > 300 * HZ) |
|
||||
(jiffies < data->last_updated) || !data->valid) {
|
||||
|
||||
#ifdef DEBUG
|
||||
|
||||
Reference in new issue
Block a user