Commit Graph
4 Commits
Author SHA1 Message Date
Emmet McPoland b35a831a41 ReImplement DialTLS fix from apns2 (#509) 2020-05-14 21:38:58 +08:00
Emmet McPolandandYaroslav Zorg Zborovsky 685a87c930 Concurrent ios pushes (#497)
* Added the ability to concurrently call.push. Linter was complaining about "loop variable token captured by", need to determine if its a legitiment issue, as the lint message has now disappeared

* resolved "loop variable token captured by func literal" issue

* Ran make_fmt

* Moved max_concurrent_pushes to iOS

* Moved from limitgroup to sizedwaitgroup

* Removed SizedWaitGroup. Using client pool of 1 and buffered channels

* Fill client pool with the same client

* MaxConcurrentPushes is now applied across all running pushes

* Ran make fmt

* Corrected TestPushToIOS test

* Update README.md

Co-Authored-By: Yaroslav "Zorg" Zborovsky <yaronius@users.noreply.github.com>

* Added comment to config in all copies for max_concurrent_pushes

* Updated TestPushToIOS to be driven from config

Co-authored-by: Yaroslav "Zorg" Zborovsky <yaronius@users.noreply.github.com>
2020-04-23 21:02:53 +08:00
Emmet McPolandandBo-Yi Wu dbc57cd828 Allow ability to explicitly set APNS priority (#437)
Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-02-07 11:50:20 +08:00
Emmet McPoland d9aa8cb408 Allow APNS expiration to be 0 (#436) 2019-11-02 14:27:22 +08:00