LETS CONNECT THROUGH INSTAGRAM. www.Instagram.com/codewithdary
@terryhenyo9216
3 жыл бұрын
I like how you teach. You show simple examples that can easily be understood.
@codewithdary
3 жыл бұрын
Thanks buddy!
@abrpp
2 жыл бұрын
Always clear clean and easy to understand. Thank you
@codewithdary
2 жыл бұрын
You are welcome!
@adil.bashir
2 жыл бұрын
Perfect match for my requirements, thanks again, Dary.
@codewithdary
2 жыл бұрын
Lovely Adil!
@aseemlalfakawma5084
2 жыл бұрын
Very clear and concise. Thank you.
@codewithdary
2 жыл бұрын
Thank you so much Aseem
@paschalokafor9043
Жыл бұрын
thanks alot Dary.
@codewithdary
Жыл бұрын
I should be thanking you for watching :)
@adilizm704
2 жыл бұрын
simple and clean this makes me feel supper goooood i love this channel Keep going
@pro-learners5471
2 жыл бұрын
thanks for the explanation. it really very easy to understand.
@codewithdary
2 жыл бұрын
You are welcome!
@sajidhasan5321
Жыл бұрын
This video is very helpful for me. Thank you brother🥰
@codewithdary
Жыл бұрын
Welcome 😊
@dev_jeongdaeri
3 жыл бұрын
really thanks!!! you are my hero!!!!
@codewithdary
3 жыл бұрын
You're welcome!
@i_want_to_play
2 жыл бұрын
Nice! Thanks! It's working!
@codewithdary
2 жыл бұрын
Lovely!!
@praveenmamidala7170
2 жыл бұрын
thank you, I learned a lot from your video
@codewithdary
2 жыл бұрын
Glad to hear that Praveen!
@nguyenvanthong1307
Жыл бұрын
so good, very easy to understand
@codewithdary
Жыл бұрын
Thank you so much Nguyen!
@ahmedabdel-salam7971
3 жыл бұрын
Excellent ❤️ , I hope you can explain all topics of laravel real time , Broadcast , events , , , etc and finally end with real time chat with laravel + Tailwind CSS Once again, thank you very much for your great effort
@codewithdary
3 жыл бұрын
We will get there Ahmed! :)
@ahmedabdel-salam7971
3 жыл бұрын
@@codewithdary Thank you bro
@sylvesterouma5877
Жыл бұрын
Thanks. The best!!
@codewithdary
Жыл бұрын
You're welcome Sylvester!
@julienSibille
3 жыл бұрын
Hi, thank you ! How do you handle queues in production ?
@codewithdary
3 жыл бұрын
I came across the following article and it helped me a lot: laravel-news.com/how-to-run-workers-in-production
@asemmuhammad7922
3 жыл бұрын
@@codewithdary what if i don't want to use forge?
@abrpp
2 жыл бұрын
@@asemmuhammad7922 scroll down there also explained how to setup without forge
@birenjung
Жыл бұрын
loved it
@codewithdary
Жыл бұрын
Happy to help :)
@alzahraaa.muhammed2164
Жыл бұрын
thanks for the explanation. but please, I have one Q is the queue:work command can run for just one row in the job table?
@constantine9074
6 ай бұрын
yeah.. but how to run it on production ,, since when you close terminal worker is terminated
@mikidroidcom
2 жыл бұрын
Dude answer questions on your comments... Do we have to run "artisan queue:work" on production? If true den how do we automate
@codewithdary
2 жыл бұрын
I hope you realise how many comments me and other KZitemrs get, it's very easy in your position to say "man answer to comments". If you do really want my help or others, just join the Discord man, that's my response :)
@neom6
2 жыл бұрын
What is the number next to time in the terminal and how to rest it? Thanks
@basopro
2 жыл бұрын
thank',, what terminal tools do you use on mac?
@codewithdary
2 жыл бұрын
I have iTerm 2 installed, really like using it :)
@ali-d-coded5620
2 жыл бұрын
but how can we use queues in production. we will have to run the command: php artisan queue:work for queue to take effect right. So is there any way to automate this artisan command when a certain condition is met ?
@eKarimoff
2 жыл бұрын
+++
@mudso
Жыл бұрын
Same question here.
@mibrahim4245
2 жыл бұрын
great as usual :D .. I've got a question.. someone said if you want to make a for loop of a HUGE database to search for users whose subscription has ended .. and then send an email to each one of them .. if you do that in a controller (that has the for loop and then dispatching the email jobs) .. you'll get a timeout error .. but if you do that in a "command" instead of a controller it will just work .. so is that correct ? does this php timeout depend on where the task is from "like if it is from the browser or the cli" or it is really different if its in a command class or a controller ?
@codewithdary
2 жыл бұрын
You should change your Eloquent query where you only retrieve users whose subscription has ended, rather than getting them all and loopign over it!
@mibrahim4245
2 жыл бұрын
@@codewithdary thank you Dary, but what if it is a heavy load .. do we get a timeout if we executed it through cli "not through a button on web for example" ? .. and does it make difference if that load is in a command or a controller ?
@emmanuelnkrumah-sarpong1179
Жыл бұрын
Controllers are meant for receiving requests from the user and then responding to them. It is expected that these requests be responded to as quickly as possible. Since the client that sent the request is waiting for a response, it has a set time it waits for the response. if no response by end of set time, it throws an error. hence the timeout. For what you are asking, it is likely that the task is not triggered by an end user or client. That task is likely done by an admin or someone else in-house. That should be done on a cli. You don't need to block the enduser thread with heavy tasks that the user has not initiated. Thus makes more sense to use a command than a controller. If the end-user initiates a time consuming task, put it in a queue. The right tool for the right job.
@Msnafiz
2 жыл бұрын
Is there any option in shared hosting to serve queue workers?
@mukeshprakash8112
11 ай бұрын
For me the queue is getting failed. Kindly help please
@codewithdary
11 ай бұрын
Can't help without any code or error.
@mukeshprakash8112
11 ай бұрын
@@codewithdary I found at the error but still couldn't find the fix It's because of the attachment. I'm using fromPath() to access an image from the public folder to send the mail it's working normally but when I use the queue the location is somehow different. Give me a solution for that please
@noormohammadsiddiqui7737
3 жыл бұрын
❤️❤️❤️
@codewithdary
3 жыл бұрын
❤️
@dogunfxdev8775
2 жыл бұрын
mine always return failed job after excuting the queue work command please help
@peterpardo4138
3 жыл бұрын
ur the best
@codewithdary
3 жыл бұрын
Thank you Peter!
@toxiedo8008
Жыл бұрын
i got fail when run php artisan queue:work
@codewithdary
Жыл бұрын
Can't really help if I don't know what you have done, what your queue is, what your error is.
@iUmerFarooq
3 жыл бұрын
When you will be teaching Graphql then Laravel + Graphql?
@codewithdary
3 жыл бұрын
I don't have that on my upcoming schedule, sorry.
@iUmerFarooq
3 жыл бұрын
@@codewithdary can you please make a video on what you have planned for your channel and the list?
Пікірлер: 65