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>
This commit is contained in:
1
config/testdata/config.yml
vendored
1
config/testdata/config.yml
vendored
@@ -50,6 +50,7 @@ ios:
|
||||
key_type: "pem" # could be pem, p12 or p8 type
|
||||
password: "" # certificate password, default as empty string.
|
||||
production: false
|
||||
max_concurrent_pushes: 100 # just for push ios notification
|
||||
max_retry: 0 # resend fail notification, default value zero is disabled
|
||||
key_id: "" # KeyID from developer account (Certificates, Identifiers & Profiles -> Keys)
|
||||
team_id: "" # TeamID from developer account (View Account -> Membership)
|
||||
|
||||
Reference in New Issue
Block a user