Removed references
This commit is contained in:
parent
cc5e74e7e2
commit
015f6f4abb
|
|
@ -220,7 +220,7 @@ class RedisCollector extends MemoryCollector
|
||||||
return $this->channelManager
|
return $this->channelManager
|
||||||
->getPublishClient()
|
->getPublishClient()
|
||||||
->smembers(static::$redisSetName)
|
->smembers(static::$redisSetName)
|
||||||
->then(function ($members) use (&$statistics) {
|
->then(function ($members) {
|
||||||
$appsWithStatistics = [];
|
$appsWithStatistics = [];
|
||||||
|
|
||||||
foreach ($members as $appId) {
|
foreach ($members as $appId) {
|
||||||
|
|
@ -249,9 +249,7 @@ class RedisCollector extends MemoryCollector
|
||||||
return $this->channelManager
|
return $this->channelManager
|
||||||
->getPublishClient()
|
->getPublishClient()
|
||||||
->hgetall($this->channelManager->getRedisKey($appId, null, ['stats']))
|
->hgetall($this->channelManager->getRedisKey($appId, null, ['stats']))
|
||||||
->then(function ($list) use ($appId, &$appStatistics) {
|
->then(function ($list) use ($appId) {
|
||||||
return $this->listToStatisticInstance(
|
|
||||||
$appId, $list
|
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue