Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] different channels in notify and listen #14

Open
cwang9208 opened this issue Feb 23, 2024 · 0 comments
Open

[Bug] different channels in notify and listen #14

cwang9208 opened this issue Feb 23, 2024 · 0 comments

Comments

@cwang9208
Copy link

cwang9208 commented Feb 23, 2024

When a scheduled job is submitted, there will be a trigger to notify the daemon using the channel "dbms_job_scheduled_notify" (

PERFORM pg_notify('dbms_job_scheduled_notify', TG_OP || ':' || NEW.job);
). However, the daemon listens to a topic named "dbms_job_cache_invalidate" (
$ldbh->do("LISTEN dbms_job_cache_invalidate");
), and can thus not receive the notification on time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant