amplitude / Amplitude-Swift

Native iOS/tvOS/macOS/watchOS SDK
MIT License
26 stars 20 forks source link

fix: Send a max of one upload at a time #221

Closed crleona closed 2 weeks ago

crleona commented 2 weeks ago

Summary

Limits us to one simultaneous upload to limit the amount of memory we use. Flush completions are now fired when the current flush (if any) completes, not necessarily the flush that kicked them off.

Checklist