Comments (7)
yep that needs to be updated
I am travelling for 2 weeks, will see when I have time to do a pull request
from beanstalk_console.
If you want I can do it but the problem is: how?
How can we know what's the maximum ID to search for? The stats-tube command doesn't have this information. Any idea?
from beanstalk_console.
as far I know there is no way to obtain the last job id, as the queue doesn't expose it.
we need to loop all jobs until we reach one limit
- eg the maximum number of jobs to return eg: 20 results
- or we have fetched total number of jobs that exists on the tube itself
this last one could also mean that if some other tube has 1 million message, they will be peaked.
we could also introduce another two factors
- total system jobs to check eg: 10 000
- or total number of seconds allowed to fetch for jobs eg: 30 seconds
what do you think?
from beanstalk_console.
Yes I agree.
There is no elegant way to it because the beanstalkd tube is not "inspectable" by design. I'll try to provide a PR for this.
from beanstalk_console.
@pentium10 look at the #162, what do you think?
from beanstalk_console.
from beanstalk_console.
It was already limited when I started to work on this. There was two kind of limits:
- It stops when it find 25 jobs
- Or it stops after 25 seconds
So if you have to many jobs it lasts for maximum 25 seconds.
from beanstalk_console.
Related Issues (20)
- Moving a buried job back to a tube being watched by multiple workers causes same job to be reserved multiple times? HOT 4
- Top nav server list should show "named" servers with their names HOT 1
- Can't pull server names out of enviroment variable HOT 1
- Console needs a favicon
- HTML page title should vary depending on which page you're viewing
- 502 Bad Gateway error HOT 2
- PHP 7.2 Deprecated: __autoload() is deprecated, use spl_autoload_register() instead
- Switch basic auth to .htaccess from PHP HOT 7
- composer/installers support HOT 6
- Setting to enable auto-refresh by default HOT 9
- Automated Docker Builds HOT 9
- It doesn't show the protobuf content
- Creating sample with same name from within tube view fails without feedback
- issue in php8.0 when pressing on the refresh button HOT 4
- Please make the storage file writable: /home/admin/www/html/beanstalk/storage.json HOT 2
- Who to contact for security issues HOT 7
- Undef issue if showing all servers
- Remove the composer/installers dependency HOT 3
- Unable to find image 'beanstalk_console:latest'
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 beanstalk_console.