Comments (2)
It is possible, but you still need a client, it should look like this:
tx := j.Tx()
err := gueClient.EnqueueTx(ctx, &gue.Job{...}, tx)
so basically j.Tx()
returns transaction used for the current job locking
from gue.
awesome!
from gue.
Related Issues (20)
- Support other binary encoding for storing the Args HOT 3
- Exampe outbox is not workering HOT 8
- Question: Semantics on cancel of workerpool HOT 7
- Feature Request: Support for dependent jobs HOT 1
- Manually rescheduling a job HOT 10
- Panic error messages only logged in database HOT 2
- Adding a subQueue or workIdentifier field HOT 2
- Way to distinguish between a 'successful' versus 'failed' job HOT 2
- Why not use sql.DB instead of adapter.Tx HOT 8
- Add maximum retry HOT 2
- v5.1.0 error: cannot use unit.Dimensionless HOT 2
- Can't use more than 5 workers HOT 2
- Postgres Listen/Notify instead of polling HOT 3
- Undesirable trace spans from poll function HOT 6
- Report queue item success in a different context HOT 2
- prevent enqueuing same job, HOT 3
- Considering using Opentelemetry Naming Conventions HOT 1
- Add context to worker HOT 1
- More production ready example 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 gue.