laravel-haystack icon indicating copy to clipboard operation
laravel-haystack copied to clipboard

Haystack pauses suddenly

Open amaelftah opened this issue 2 years ago • 3 comments

i couldn't quite reproduce the issue yet ... but right now my db uses singlestore which has this form of ids

image

so after pushing 400 haystack_bales or so ... suddenly I found no jobs are queued and the haystack row is stale

image

also I found some queues inside haystack_bale with delay 0

image

my queue configuration is process_automatically is set to true

also when I run $haystack->dispatchNextJob() ... it process some jobs then stop

and inside my queue jobs ... no special thing just normal handle function and what was mentioned in the docs here

image

would appreciate if you can guide me or point me to a direction ... so far am suspecting this line could be the issue but not sure

image

my call to haystack looks like this


 Haystack::build()->withName("test")->addJob(x)->addJob(y)->withDelay(1)->allowsFailure()->dispatch();

amaelftah avatar Nov 22 '22 18:11 amaelftah