fix mempool polling. move removal of storage cache array to poll-device.php. perhaps this needs further aggregated elsewhere ?

git-svn-id: http://www.observium.org/svn/observer/trunk@1027 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2010-03-14 14:38:30 +00:00
parent 2d7ee29d10
commit a3495b015c
4 changed files with 6 additions and 3 deletions
+2
View File
@@ -228,6 +228,8 @@ while ($device = mysql_fetch_array($device_query)) {
echo("No Changes to " . $device['hostname'] . "\n");
}
unset($storage_cache); // Clear cache of hrStorage ** MAYBE FIXME? **
$device_end = utime(); $device_run = $device_end - $device_start; $device_time = substr($device_run, 0, 5);
echo("Polled in $device_time seconds\n");