realtime connection
This commit is contained in:
parent
eaaf2bb0c3
commit
63fdedf564
2 changed files with 6 additions and 11 deletions
|
@ -537,16 +537,6 @@ class Certificates extends Action
|
|||
project: $project
|
||||
);
|
||||
|
||||
var_dump([
|
||||
'redis' => $realtimeConnection($this->sourceRegion),
|
||||
'projectId' => 'console',
|
||||
'payload' => $rule->getArrayCopy(),
|
||||
'events' => $allEvents,
|
||||
'channels' => $target['channels'],
|
||||
'roles' => $target['roles'],
|
||||
]);
|
||||
|
||||
|
||||
Realtime::send(
|
||||
redis: $realtimeConnection($this->sourceRegion),
|
||||
projectId: 'console',
|
||||
|
|
|
@ -632,7 +632,12 @@ class Databases extends Action
|
|||
callable $realtimeConnection
|
||||
): void {
|
||||
|
||||
var_dump($realtimeConnection($this->sourceRegion));
|
||||
var_dump([
|
||||
'sourceRegion' => $this->sourceRegion,
|
||||
'redis' => $realtimeConnection($this->sourceRegion),
|
||||
'projectId' => 'console',
|
||||
'payload' => $attribute->getArrayCopy()
|
||||
]);
|
||||
|
||||
$target = Realtime::fromPayload(
|
||||
// Pass first, most verbose event pattern
|
||||
|
|
Loading…
Reference in a new issue