analytics-php
analytics-php copied to clipboard
Segment tracking doesn't work with Laravel Queues
This has been an issued noted by a few people.
See this thread: https://laracasts.com/index.php/index.php/discuss/channels/laravel/queuework-not-working-but-queuelisten-did?page=1&replyId=573027
In the segment documentation it says: "Because PHP is a single threaded and shared-nothing environment, we can’t use a queue in a separate thread or a connection pool to flush messages"
Maybe this has something to do with it?
My work around was to remove all tracking out of queues - would be great to have a real fix for this though.