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
variables:
DOCKER_TLS_CERTDIR: "/certs"
IMAGE_VER: 2.4.0
IMAGE_VER: 2.4.1
services:
- docker:20.10.9-dind
......
......@@ -47,13 +47,12 @@ sub update ($c) {
$entry->update( $update );
$c->redis->pubsub->json('notify')->notify( notify => {
event => 'program_entry_changed',
payload => {
$c->redis->pubsub->notify(
program_entry_changed => {
id => $entry->id,
%{ $update },
}
});
);
# PG_PUBSUB
# $pubsub->json('notify')->notify( notify => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment