Skip to content

Conversation

@zihejia
Copy link
Contributor

@zihejia zihejia commented Nov 19, 2020

  • Fix events being dropped when flushing if there are corrupted items in the event queue (filter out the bad event rather than dropping the whole batch of queue)
  • safe guard the invalid numbers from being infinite or NaN before sending to Mixpanel

@zihejia zihejia force-pushed the flush-tweaking branch 4 times, most recently from b9f1b17 to 718269f Compare November 23, 2020 05:08
descStr = "Event: \"\(ev)\""
case 1:
let ev = "Track Event With Properties!"
let ev = "Track Event With Properties! No: \(eventNo)"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in this example, I would make the event number a property and keep the event name consistent

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops, thx for catching this

@zihejia zihejia changed the title Flush tweaking Fix events being dropped when flushing if there are corrupted items in the event queue Nov 23, 2020
Copy link
Contributor

@jaredmixpanel jaredmixpanel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@zihejia zihejia merged commit be0d9e6 into master Nov 23, 2020
@zihejia zihejia deleted the flush-tweaking branch January 26, 2022 18:40
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.

3 participants