Comments (7)
Hey @jasonmccreary. I believe these numbers are correct. This view is just a direct representation of the values of a batch in Laravel: https://github.com/laravel/framework/blob/2e3d23fc89c5c9e9841962d5c9bf0e3881a81929/src/Illuminate/Bus/Batch.php#L445-L457
There's pending jobs which are basically the failed jobs which still need to run, there's completed jobs and then there's a total number of jobs (completed + pending/failed).
from horizon.
Thanks for the explanation. I still wonder if the wording could be adjusted as "pending" to me means needs to be run. I see how "failed" falls into that category though. No biggie.
from horizon.
I think it's best we just use the wording as is on the batch array personally. You can always try a PR to see if Taylor would accept it 👍
from horizon.
Total Job value is in fact incorrect, at the moment it calculated from (totals - pendingJobs), when it should show Completed Jobs (including failed) 484 (100%)
horizon/resources/js/screens/batches/preview.vue
Lines 143 to 158 in bea664a
from horizon.
Alternatively we should follow Illuminate\Bus\Batch
conversion of "Processed Jobs" (totals - pendingJobs) and displayed it as Processed Jobs 324 (67%)
from horizon.
Right, good spot @crynobone. Sorry about that @jasonmccreary
from horizon.
@driesvints, no worries. Glad it got reopened.
from horizon.
Related Issues (20)
- Percentage Bug - Job Completed HOT 2
- Laravel Horizon in sub-folder route issue HOT 1
- Singleton state overwritten before job process has finished HOT 1
- Very slow loading of the job list page HOT 2
- The "--force" option does not exist. HOT 1
- Creation of dynamic property Illuminate\Foundation\Bus\PendingChain::$chained is deprecated HOT 3
- Jobs are pending and are never processed HOT 1
- May I know how to uninstall the Horizon , HOT 1
- Possibility to run via database without using redis HOT 2
- UI bugs, app.js error HOT 1
- Searching jobs in completed and pending sections HOT 1
- Config to display or hide retry button on failed jobs page HOT 2
- Drop trimmed jobs HOT 1
- Attempt to read property "failedJobIds" on null - when you navigate to a completed batch HOT 5
- Some failed jobs will attempts twice HOT 1
- php artisan horizon process does not die on redis failure HOT 1
- horizon:restart command fails HOT 4
- Horizon Gate not work. 5.23 HOT 1
- Horizon Gate Bug 5.23. Anyone can access. HOT 1
- Consider --watch and/or --poll flag 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 horizon.