Skip to content

Commit bf468de

Browse files
Sync public snapshot from freebuff-private
Source: CodebuffAI/freebuff-private@384fc94f43b51874a5cc35a604602ab4973dc150
1 parent f48d871 commit bf468de

2 files changed

Lines changed: 10 additions & 5 deletions

File tree

bun.lock

Lines changed: 1 addition & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

common/src/constants/freebuff-desktop-sessions.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,15 @@ export function occupiesFreebuffDesktopSlot(
6767
)
6868
}
6969

70-
/** Idle time after which Desktop may reclaim a constrained session slot. */
71-
export const FREEBUFF_DESKTOP_IDLE_RELEASE_MS = 10 * 60 * 1000
70+
/** Idle time after which Desktop ends a hosted session and frees its slot. */
71+
export const FREEBUFF_DESKTOP_IDLE_RELEASE_MS = 15 * 60 * 1000
72+
73+
/** Pins an end/refund request to one window of a stable Desktop tab. */
74+
export const FREEBUFF_DESKTOP_ADMITTED_AT_HEADER =
75+
'x-freebuff-desktop-admitted-at'
76+
77+
/** Client-persisted identity for a possibly unacknowledged Desktop POST. */
78+
export const FREEBUFF_DESKTOP_ATTEMPT_HEADER = 'x-freebuff-desktop-attempt-id'
7279

7380
/** Versioned opt-in: instance ids become single-use execution claims. */
7481
export const FREEBUFF_PURCHASE_CONTINUITY_HEADER =

0 commit comments

Comments
 (0)