Skip to content

Commit

Permalink
Revert "Reduce h2 load even further since it crashes when getting to …
Browse files Browse the repository at this point in the history
…much traffic"

This reverts commit a8a6352.
  • Loading branch information
mikaelengstrom committed Oct 31, 2024
1 parent 5674443 commit 428cc67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion push_notifications/apns_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def send_message(

def send_bulk_messages(self, requests):
async def _send():
semaphore = asyncio.Semaphore(4)
semaphore = asyncio.Semaphore(5)
results: tuple[Any] = await asyncio.gather(*(self.send_message_async(request, semaphore) for request in requests))
return results

Expand Down

0 comments on commit 428cc67

Please sign in to comment.