Commit 3d624c6
fix: [SDK-4814] reduce receive-receipt dedup cache TTL to 1 day
Receipts are only enqueued when a push-delivered content update arrives,
so the device is online and sends succeed promptly; a long retry window
isn't needed. As a dedup marker, an entry only has to outlive the window
in which ActivityKit can re-emit an active activity on relaunch (~12h
max), so one day covers it with margin while bounding how much the
per-notification cache can accumulate.
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 0a6d57e commit 3d624c6
1 file changed
Lines changed: 4 additions & 3 deletions
File tree
- iOS_SDK/OneSignalSDK/OneSignalLiveActivities/Source/Executors
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
119 | | - | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
120 | 121 | | |
121 | 122 | | |
122 | | - | |
| 123 | + | |
123 | 124 | | |
124 | 125 | | |
125 | 126 | | |
| |||
0 commit comments