Closed kydemy-fran closed 3 months ago
I have bad experience with LISTEN
/NOTIFY
so it will not be implemented in this library, having only interval polling was the design decision I made at the beginning and I do not want to change it
Ok, no worries :+1: Thank you for the reply.
Sorry to bother you again @vgarvardt
We were using an internal library before moving to gue. (We have been using both until recently we removed the old one) On that library we had a functionality that might be ported to gue and might be interesting.
Basically gue works polling jobs from the DB using an interval. If you have many jobs types you have to basically find a balance for setting that interval, that is not polling too much, but you do not add too much delay processing important jobs.
The idea would be to:
NOTIFY [channel]
functionality.LISTEN [channel]
functionality.PS: I've read your comment about the plugin system. But this would need to be CORE I believe to access the timer, workmap, etc.
Let me know what you think, thank you.