Apple notification forward never blocks our own processing
The APPLE_PROXY_HOST forward runs before the notice is stored, with no timeout and no error handling. When the target is down, every notice throws, Apple gets a 500 and nothing is stored or sent to AppsFlyer. cdlbackend (analytics.mapo.la/webhooks/13) and dmvbackend (/42) have been in that state since 2025-06-16. Now the forward waits at most proxy_timeout seconds (APPLE_PROXY_TIMEOUT, default 5) and a failure is only logged as a warning. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
d37045d3e3
commit
25d98a4ee3
@@ -23,4 +23,8 @@ return [
|
||||
// 'did_change_renewal_status' => \App\Jobs\AppstoreNotifications\HandleDidChangeRenewalStatus::class,
|
||||
],
|
||||
'proxy_host' => env('APPLE_PROXY_HOST'),
|
||||
/*
|
||||
* Seconds to wait for the proxy_host before giving up (the forward never blocks our own processing).
|
||||
*/
|
||||
'proxy_timeout' => env('APPLE_PROXY_TIMEOUT', 5),
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user