den1n / nova-queues Goto Github PK
View Code? Open in Web Editor NEWQueues resource for Laravel Nova.
License: MIT License
Queues resource for Laravel Nova.
License: MIT License
Does this package only work with the database queue driver?
I'm guessing yes but it's unclear. I think the readme should mention that clearly.
Thanks!
Getting this exception in logs when trying to view queues in Nova:
(Exception(code: 0): DateTime::__construct(): Failed to parse time string (1620634615) at position 8 (1): Unexpected character at /home/futwatch/staging/releases/19/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php:85)
[stacktrace]
#0 /home/futwatch/staging/releases/19/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php(85): DateTime->__construct('1620634615', Object(Carbon\\CarbonTimeZone))
#1 /home/futwatch/staging/releases/19/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php(183): Carbon\\Carbon->__construct('1620634615', NULL)
#2 /home/futwatch/staging/releases/19/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php(214): Carbon\\Carbon::rawParse('1620634615', NULL)
#3 /home/futwatch/staging/releases/19/vendor/den1n/nova-queues/src/Resources/Job.php(106): Carbon\\Carbon::parse('1620634615')
#4 [internal function]: Den1n\\NovaQueues\\Resources\\Job->Den1n\\NovaQueues\\Resources\\{closure}('1620634615', Object(Den1n\\NovaQueues\\Models\\Job), 'available_at')
#5 /home/futwatch/staging/releases/19/vendor/laravel/nova/src/Fields/Field.php(252): call_user_func(Object(Closure), '1620634615', Object(Den1n\\NovaQueues\\Models\\Job), 'available_at')
#6 /home/futwatch/staging/releases/19/vendor/laravel/framework/src/Illuminate/Support/helpers.php(263): Laravel\\Nova\\Fields\\Field->Laravel\\Nova\\Fields\\{closure}('1620634615')
#7 /home/futwatch/staging/releases/19/vendor/laravel/nova/src/Fields/Field.php(253): tap('1620634615', Object(Closure))
#8 /home/futwatch/staging/releases/19/vendor/laravel/nova/src/Fields/Field.php(217): Laravel\\Nova\\Fields\\Field->resolve(Object(Den1n\\NovaQueues\\Models\\Job), 'available_at')
#9 /home/futwatch/staging/releases/19/vendor/laravel/nova/src/ResolvesFields.php(39): Laravel\\Nova\\Fields\\Field->resolveForDisplay(Object(Den1n\\NovaQueues\\Models\\Job))
#10 /home/futwatch/staging/releases/19/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(234): Laravel\\Nova\\Resource->Laravel\\Nova\\{closure}(Object(Laravel\\Nova\\Fields\\DateTime), 6)
#11 /home/futwatch/staging/releases/19/vendor/laravel/nova/src/ResolvesFields.php(47): Illuminate\\Support\\Collection->each(Object(Closure))
#12 /home/futwatch/staging/releases/19/vendor/laravel/nova/src/Resource.php(463): Laravel\\Nova\\Resource->indexFields(Object(Laravel\\Nova\\Http\\Requests\\ResourceIndexRequest))
#13 /home/futwatch/staging/releases/19/vendor/laravel/framework/src/Illuminate/Collections/HigherOrderCollectionProxy.php(60): Laravel\\Nova\\Resource->serializeForIndex(Object(Laravel\\Nova\\Http\\Requests\\ResourceIndexRequest))
#14 [internal function]: Illuminate\\Support\\HigherOrderCollectionProxy->Illuminate\\Support\\{closure}(Object(Den1n\\NovaQueues\\Resources\\Job), 0)
#15 /home/futwatch/staging/releases/19/vendor/laravel/framework/src/Illuminate/Collections/Collection.php(642): array_map(Object(Closure), Array, Array)
#16 /home/futwatch/staging/releases/19/vendor/laravel/framework/src/Illuminate/Collections/HigherOrderCollectionProxy.php(61): Illuminate\\Support\\Collection->map(Object(Closure))
#17 /home/futwatch/staging/releases/19/vendor/laravel/nova/src/Http/Controllers/ResourceIndexController.php(24): Illuminate\\Support\\HigherOrderCollectionProxy->__call('serializeForInd...', Array)
#18 /home/futwatch/staging/releases/19/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): Laravel\\Nova\\Http\\Controllers\\ResourceIndexController->handle(Object(Laravel\\Nova\\Http\\Requests\\ResourceIndexRequest), 'jobs')
#19 /home/futwatch/staging/releases/19/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('handle', Array)
#20 /home/futwatch/staging/releases/19/vendor/laravel/framework/src/Illuminate/Routing/Route.php(254): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(Laravel\\Nova\\Http\\Controllers\\ResourceIndexController), 'handle')
... and so on ...
Hi @den1n,
Let's say there are multiple database queues on different databases (3 databases in total) and I want to monitor the queue from one Nova panel. Any way to set this up so that you can have different connections for this queue plugin to monitor different queue's?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.