diff --git a/lib/CF/Helpers/Core.pm b/lib/CF/Helpers/Core.pm index a952083c3651c42507d27cd24db6670d93677b45..999e8f51b92d9d7338582e83ec55ba17ab4dc2ea 100644 --- a/lib/CF/Helpers/Core.pm +++ b/lib/CF/Helpers/Core.pm @@ -208,13 +208,7 @@ sub register ($class, $self, $conf) { payload => $payload, }; - if ($self->cfg->{message_broker} eq 'redis' ) { - $self->redis->pubsub->notify( notify => encode_json($content) ); - } - else { - my $pubsub = Mojo::Pg::PubSub->new(pg => $self->pg); - $pubsub->json('notify')->notify( notify => $content ); - } + $self->redis->pubsub->notify( notify => encode_json($content) ); }); } diff --git a/openapi.yaml b/openapi.yaml index b012eb586cdb8a29b7f9b73b79e0efd98b88f55e..7492694e49b0a48b58fe6c396688085aa12e4eb4 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -1,7 +1,7 @@ openapi: 3.0.3 info: - version: "2.7.0" + version: "2.7.2" title: CF Online description: CF Online license: