Comments (1)
Job queues don't typically offer job mutation features like this after they are created, because the queue system needs to have total control of its state to be reliable. Debouncing is offered as a way to limit job creation over time (like throttling). It's not meant to replace all database-type use cases you can do with a table, which is what it sounds like you're needing.
For example, if you schedule an email to be sent, then decide you don't want to send it, you could cancel the previous job and create a new one if it hasn't been sent already.
from pg-boss.
Related Issues (20)
- Multiple start call HOT 1
- Maintenance Interval Issues / config options ignored HOT 1
- feature request: worker's job filter HOT 7
- bug: swallowed error when connection is closed HOT 1
- The library does not support PostgreSQL 11, just 13+ HOT 1
- High Database CPU when processing backlog HOT 9
- feature-request: It should be possible to predict a job key or id. HOT 4
- Use pg-boss with postgres.js HOT 5
- Stopping pg-boss gracefully does not wait until stop timeouts HOT 9
- 'stopping' state missing in TypeScript Types HOT 1
- Easier observability for expired jobs HOT 1
- Is pg-boss actively maintained? HOT 2
- Scheduled jobs cannot run more than once per minute HOT 7
- Limiting Concurrent Active Jobs Across Multiple Queues HOT 2
- Scheduling many individual jobs for the same queue HOT 3
- Document onComplete option HOT 1
- Job heartbeat support HOT 4
- Silently rejecting jobs when the db is not connected HOT 1
- New UUIDv7 increased performance and indexes HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pg-boss.