1
0
Fork 0
mirror of synced 2024-09-19 19:07:21 +12:00

realtime connection

This commit is contained in:
shimon 2024-09-03 17:23:54 +03:00
parent eaaf2bb0c3
commit 63fdedf564
2 changed files with 6 additions and 11 deletions

View file

@ -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',

View file

@ -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