salutation d'outre atlantique
laragon php 7 sous laravel 5.8
suite au tutos sur les jobs/queue/redis
ce que n'empeche pas le bon functionnement du jobs/queu , certe .
je voudraus savoir si cest normal que redis affiche des ligne en continu.
quand php artisan queue:work tourne?
<code>
redis.call('zrangebyscore', KEYS[1], '-inf', ARGV[1])\n\n-- If we have values in the array, we will remove them from the first queue\n-- and add them onto the destination queue in chunks of 100, which moves\n-- all of the appropriate jobs onto the destination queue very safely.\nif(next(val) ~= nil) then\n redis.call('zremrangebyrank', KEYS[1], 0, #val - 1)\n\n for i = 1, #val, 100 do\n redis.call('rpush', KEYS[2], unpack(val, i, math.min(i+99, #val)))\n -- Push a notification for every job that was migrated...\n for j = i, math.min(i+99, #val) do\n redis.call('rpush', KEYS[3], 1)\n end\n end\nend\n\nreturn val" "3" "laravel_database_queues:default:delayed" "laravel_database_queues:default" "laravel_database_queues:default:notify" "1562634352"
1562634352.783394 [0 lua] "zrangebyscore" "laravel_database_queues:default:delayed" "-inf" "1562634352"
1562634352.783946 [0 127.0.0.1:57504] "EVAL" "-- Get all of the jobs with an expired \"score\"...\nlocal val = redis.call('zrangebyscore', KEYS[1], '-inf', ARGV[1])\n\n-- If we have values in the array, we will remove them from the first queue\n-- and add them onto the destination queue in chunks of 100, which moves\n-- all of the appropriate jobs onto the destination queue very safely.\nif(next(val) ~= nil) then\n redis.call('zremrangebyrank', KEYS[1], 0, #val - 1)\n\n for i = 1, #val, 100 do\n redis.call('rpush', KEYS[2], unpack(val, i, math.min(i+99, #val)))\n -- Push a notification for every job that was migrated...\n for j = i, math.min(i+99, #val) do\n redis.call('rpush', KEYS[3], 1)\n end\n end\nend\n\nreturn val" "3" "laravel_database_queues:default:reserved" "laravel_database_queues:default" "laravel_database_queues:default:notify" "1562634352"
1562634352.784647 [0 lua] "zrangebyscore" "laravel_database_queues:default:reserved" "-inf" "1562634352"
1562634352.785289 [0 127.0.0.1:57504] "EVAL" "-- Pop the first job off of the queue...\nlocal job = redis.call('lpop', KEYS[1])\nlocal reserved = false\n\nif(job ~= false) then\n -- Increment the attempt count and place job on the reserved queue...\n reserved = cjson.decode(job)\n reserved['attempts'] = reserved['attempts'] + 1\n reserved = cjson.encode(reserved)\n redis.call('zadd', KEYS[2], ARGV[1], reserved)\n redis.call('lpop', KEYS[3])\nend\n\nreturn {job, reserved}" "3" "laravel_database_queues:default" "laravel_database_queues:default:reserved" "laravel_database_queues:default:notify" "1562634442"
1562634352.785749 [0 lua] "lpop" "laravel_database_queues:default"
</code>