mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-28 16:24:05 +02:00
DataTypeSqlQuery: disable buggy cache
This commit is contained in:
parent
ce0a982821
commit
ff80463d76
@ -39,10 +39,11 @@ class DataTypeSqlQuery extends DataTypeHook
|
|||||||
|
|
||||||
protected function fetchData()
|
protected function fetchData()
|
||||||
{
|
{
|
||||||
if (self::$cachedResult === null || (time() - self::$cacheTime > 3)) {
|
// TODO: Hash _:)
|
||||||
|
//if (self::$cachedResult === null || (time() - self::$cacheTime > 3)) {
|
||||||
self::$cachedResult = $this->db()->fetchPairs($this->settings['query']);
|
self::$cachedResult = $this->db()->fetchPairs($this->settings['query']);
|
||||||
self::$cacheTime = time();
|
self::$cacheTime = time();
|
||||||
}
|
// }
|
||||||
|
|
||||||
return self::$cachedResult;
|
return self::$cachedResult;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user