Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add people and group flush to Mixpanel::flush method. #73

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jgile
Copy link

@jgile jgile commented Jun 2, 2023

Most would assume that all three would be flushed if called manually.

The specific use case that led me to this was using Laravel Queues. We are queueing server side events to send to Mixpanel in the background. For one reason or another, the flush on destruction is never called automatically when these queued jobs run in the background. Therefore, we must call "flush" manually. We couldn't figure out why people properties were not being sent when we flushed until digging in and noticing only events were sent.

…me that all three would be flushed if called manually.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant