Davidson CI testing & AI refinement
pauljd/davidson-ci: Davidson CI / quality (push) Successful in 16s
pauljd/davidson-ci: Davidson CI / ai-review (push) Successful in 59s

This commit is contained in:
2026-09-11 11:04:36 +01:00
parent f033480104
commit 6afdd80bfc
2 changed files with 18 additions and 5 deletions
+9
View File
@@ -2,6 +2,15 @@
require __DIR__ . '/session.php';
start_app_session();
// Anchor completion checks to when this page actually loaded rather than a sliding
// window from "now" at poll time, so a delayed navigation or a browser tab that's
// backgrounded and resumed later still sees credits that were added while it wasn't
// polling. Reset on every fresh load of this page (not on the polling requests below,
// which hit a separate endpoint) so a later, unrelated visit doesn't inherit a stale
// anchor. The 10-second backdate also covers a webhook that finishes just before this
// redirect lands.
$_SESSION['purchase_wait_since'] = gmdate('Y-m-d H:i:s', time() - 10);
$pageTitle = 'Processing';
?>
<!DOCTYPE html>