Comments (2)
Hey @juddey!
Yeah so from what I recall the only way to delete from a Redis set is by using the exact item as reference. To remove based on the job_id we would need to scan through all items until the job_id is found. I think we ended up not implementing this because it could be a very slow operation.
I'm happy to accept a PR that deletes a job based on the ID. We can probably have docs explaining that this might be a really slow operation?
One can implement it now using range
function to enumerate all jobs until the job_id is found and then delete using the item?
from verk_web.
Thanks for the info @edgurgel, thought there must have been some reason why you're deleting using the whole job. For my use case I'm not too worried that it would be slow.
I'll close this off now 'cause I'm not sure if I'll get to implementing a PR in a timely fashion, and there's nothing worse than having open issues hanging around.
from verk_web.
Related Issues (20)
- Busy page should show how many workers are idle
- Authorization requires compile time settings HOT 5
- Publish docker image on docker hub HOT 3
- Need remove GenEvent, Verk.EventManager etc HOT 1
- Add "select all" from the page on Retries
- error in template HOT 2
- Dashboard: Incorrect internal links HOT 4
- Delete all button on retries is not firing request HOT 2
- Support for Phoenix 1.3.0 HOT 3
- Authentication is not working in prod HOT 1
- Running jobs should list all the jobs being run in the cluster HOT 5
- Add a "Run Job" on Scheduled jobs HOT 3
- Phoenix 1.4 mount issue HOT 2
- Run verk_web on different machine than verk HOT 1
- Cowboy 2 support? HOT 2
- Websockets in umbrella
- Mount verk_web under protected scope instead of basic auth? HOT 3
- Elixir 1.11 requires new phoenix and new pubsub HOT 1
- Can't start verk web as a server
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 verk_web.