Skip to content

Commit

Permalink
Record RPC groups according to service and method
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-binary committed Jun 6, 2024
1 parent 332095b commit 86b68d1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/Myriad/RPC/Implementation/Redis.pm
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,10 @@ async method create_group ($rpc) {
'0',
1
);
await $redis->hset(
'rpc.group',
$rpc->{stream},
my ($service, $method) = service_from_stream_name($rpc->{stream});
await $self->redis->hset(
"rpc.group.{$service}",
$method,
$self->group_name,
);
$rpc->{group} = 1;
Expand Down

0 comments on commit 86b68d1

Please sign in to comment.