I am using Laravel with Phpredis and I’ve created a webhook that adds a job to the queue. I’ve followed the docs for the interrogation but my jobs are not being queued. .env QUEUE_CONNECTION=redis config/database.php ‘client’ => env(‘REDIS_CLIENT’, ‘phpredis’), config/queue.php I am using Windows with Xampp and redis-server.exe is running. This is what I am getting when the job is
Tag: phpredis
php redis session save handler extending function gc (garbage collection)
Is there a way to extend phpredis session.save handler to call a function when garbage collection happens? ini_set(‘session.save_handler’,’redis’); //code to set an additional gc …
Fastest way to check key exists in redis – php
Is there any other faster way than EXISTS, to check if a key exists in redis or not? My problem is, I have over 1 million records in redis and I need to do a key_exists check. This should happen within 10ms. Any Ideas around this? Answer Using the EXISTS command is the fastest way, this should be extremely quick.