mirror of https://github.com/MISP/MISP
Merge pull request #5631 from JakubOnderka/patch-90
fix: [pubsub] Do not fetch setting for every pushpull/5633/head
commit
35536267a2
|
@ -142,9 +142,7 @@ class PubSubTool
|
|||
|
||||
private function __pushToRedis($ns, $data)
|
||||
{
|
||||
$settings = $this->__getSetSettings();
|
||||
$this->__redis->select($settings['redis_database']);
|
||||
$this->__redis->rPush($settings['redis_namespace'] . $ns, $data);
|
||||
$this->__redis->rPush($this->__settings['redis_namespace'] . $ns, $data);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue