Skip to content

basalt / drives-google/src / GOOGLE_MAX_WATCH_TTL_MS

Variable: GOOGLE_MAX_WATCH_TTL_MS ​

> const GOOGLE_MAX_WATCH_TTL_MS: number

Defined in: drives-google/src/index.ts:134

Longest channel TTL this adapter will ask for.

Google caps a channel's life and answers with the expiration it actually chose, which is what DriveWatch.expiresAt carries. Renewal is the app's job — see the README's defineReconciler recipe — because a framework that silently renewed a subscription would be making a traffic decision on the app's behalf, for ever.

Released under the MIT License.