We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfb4fa4 commit 430cb59Copy full SHA for 430cb59
Sources/WebPush/WebPushManager.swift
@@ -371,7 +371,7 @@ public actor WebPushManager: Sendable {
371
request.body = .bytes(ByteBuffer(bytes: requestContent))
372
373
/// Send the request to the push endpoint.
374
- let response = try await httpClient.execute(request, deadline: .now(), logger: logger)
+ let response = try await httpClient.execute(request, deadline: .now() + .seconds(2), logger: logger)
375
376
/// Check the response and determine if the subscription should be removed from our records, or if the notification should just be skipped.
377
switch response.status {
0 commit comments