Skip to content

Implement database listeners and make database notify on jobs change #879

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

Draft
wants to merge 47 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
9682a20
fix(tools): don't fork when there's no usable DB connection in access…
ylei-tsubame Mar 4, 2025
2eeedef
fix(tools): disconnect cloned DB connection in access module
ylei-tsubame Mar 5, 2025
6cd626b
fix(tools): improve DB check, clone logging in access module
ylei-tsubame Mar 5, 2025
212cfa1
fix(share): notify in insert or update job trigger function
ylei-tsubame Mar 11, 2025
50ddec6
fix(tools): rm listen scmd, comment after handle conn in access module
ylei-tsubame Mar 11, 2025
541a07c
fix(tools): add database notification listener management in access m…
ylei-tsubame Mar 11, 2025
3b2a869
fix(tools): correct HASH dbh exists check in access module
ylei-tsubame Mar 12, 2025
2e54802
fix(tools): correct kill db listener syntax in access module
ylei-tsubame Mar 12, 2025
d213689
fix(tools): correct syntax in fork_responder of access module
ylei-tsubame Mar 12, 2025
bef1ef0
fix(tools): emit before SHUT_WR in handle_connection of access module
ylei-tsubame Mar 12, 2025
502ff4e
fix(tools): clean up inputs with chomp in access module
ylei-tsubame Mar 12, 2025
78bb5b1
fix(tools): make exit_responder to pair with fork_responder in access…
ylei-tsubame Mar 12, 2025
891c41f
feat: write add_listener, clone_connection methods in database module
ylei-tsubame Mar 17, 2025
740c691
fix: add hook when dbh clone fails in Database->add_listener()
ylei-tsubame Mar 18, 2025
67e19d1
fix(tools): apply add_listener, clone_connection database methods in …
ylei-tsubame Mar 18, 2025
14f8bed
fix: don't ping every iteration of blocking in Database->add_listener
ylei-tsubame Mar 18, 2025
8d3bd5d
fix: add CHLD signal param to Database->add_listener
ylei-tsubame Mar 18, 2025
e1e136c
fix: correct listen command in Database->add_listener
ylei-tsubame Mar 19, 2025
fc4480b
fix: expose db ping interval in Database->add_listener
ylei-tsubame Mar 19, 2025
537281f
fix(tools): correct syntax in manage listeners of access module
ylei-tsubame Mar 19, 2025
d451c5c
fix(tools): rename trigger->notify_name, register new listeners in ac…
ylei-tsubame Mar 19, 2025
9fa5858
fix(tools): migrate interface to Proc::Simple in access module
ylei-tsubame Mar 20, 2025
e0bb7b1
fix: migrate to Proc::Simple in database listener management
ylei-tsubame Mar 21, 2025
9c626e7
fix(tools): migrate all forks to Proc::Simple in access module
ylei-tsubame Mar 22, 2025
2bff599
fix(tools): correct emit requester event fn var scope in access module
ylei-tsubame Mar 22, 2025
6ed254a
fix(tools): correct forked events in access module
ylei-tsubame Mar 22, 2025
b0eb357
fix(tools): correct list database listeners in access module
ylei-tsubame Mar 22, 2025
a0da9c9
fix(tools): prevent SIGCHLD from crashing on IO:Socket's accept()
ylei-tsubame Mar 22, 2025
973c26a
fix(tools): correct DB listener forked event in access module
ylei-tsubame Mar 22, 2025
fc8b0cc
fix(tools): edit comment, reuse var for script file in access module
ylei-tsubame Mar 24, 2025
052934f
fix: lower ping frequency, add failed ping hook in Database->run_list…
ylei-tsubame Mar 25, 2025
93f69b4
fix(tools): allow listener to write to responder by keeping it alive …
ylei-tsubame Mar 25, 2025
38d676a
fix: adjust ping interval, correct docs in Database->add_listener
ylei-tsubame Mar 25, 2025
acba5c0
fix(tools): align handler changes in manage db listeners of access mo…
ylei-tsubame Mar 25, 2025
4f5cd3e
fix: add destructor to handle listeners clean up in Database module
ylei-tsubame Mar 27, 2025
541288b
fix(tools): use jobs listener in daemon
ylei-tsubame Mar 28, 2025
e3e3586
fix: don't rely on parent in database module because tools are destro…
ylei-tsubame Mar 28, 2025
ac1d39f
fix(tools): correct typo in daemon
ylei-tsubame Mar 28, 2025
71ac04b
fix(tools): update jobs trigger in version changes
ylei-tsubame Mar 29, 2025
7683a60
fix(tools): remove excess spaces in access module
ylei-tsubame Mar 31, 2025
0d9293f
fix: specify attr in clone of Database->clone_connection
ylei-tsubame Apr 1, 2025
8d0f496
fix: improve logs in Database->clone_connection()
ylei-tsubame Apr 1, 2025
e1f1bfb
fix(tools): remove seen_jobs flags in daemon
ylei-tsubame Apr 1, 2025
b7143c6
fix(tools): search processes to avoid duplicating jobs in daemon
ylei-tsubame Apr 1, 2025
a22d471
fix: enable auto inactive destroy on clone, log special var in Databa…
ylei-tsubame Apr 2, 2025
130e773
fix(tools): find duplicates only for not-started jobs in daemon
ylei-tsubame Apr 2, 2025
76b45d2
fix: replace destructor with Proc::Simple's destroy flag in Database-…
ylei-tsubame Apr 2, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading