Skip to content
Snippets Groups Projects
Verified Commit b7f70132 authored by Andrej Ramašeuski's avatar Andrej Ramašeuski
Browse files

Uprava notifikace pres redis

parent 62584392
No related branches found
No related tags found
No related merge requests found
Pipeline #6471 passed
...@@ -2,7 +2,7 @@ image: docker:20.10.9 ...@@ -2,7 +2,7 @@ image: docker:20.10.9
variables: variables:
DOCKER_TLS_CERTDIR: "/certs" DOCKER_TLS_CERTDIR: "/certs"
IMAGE_VER: 2.4.0 IMAGE_VER: 2.4.1
services: services:
- docker:20.10.9-dind - docker:20.10.9-dind
......
...@@ -47,13 +47,12 @@ sub update ($c) { ...@@ -47,13 +47,12 @@ sub update ($c) {
$entry->update( $update ); $entry->update( $update );
$c->redis->pubsub->json('notify')->notify( notify => { $c->redis->pubsub->notify(
event => 'program_entry_changed', program_entry_changed => {
payload => {
id => $entry->id, id => $entry->id,
%{ $update }, %{ $update },
} }
}); );
# PG_PUBSUB # PG_PUBSUB
# $pubsub->json('notify')->notify( notify => { # $pubsub->json('notify')->notify( notify => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment