How often the session polls for automatic shutdowns.
Applications can shutdown a session by calling .cancel() on the returned future<Status>. In addition, applications can fire & forget a session, which is only shutdown once the completion queue servicing the session shuts down. In this latter case the session polls periodically to detect if the CQ has shutdown. This controls how often this polling happens.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["This webpage lists different versions of the `ShutdownPollingPeriodOption` for the Google Cloud Pub/Sub C++ library, ranging from version 2.11.0 to the latest release candidate 2.37.0-rc."],["The `ShutdownPollingPeriodOption` determines how frequently a session checks for automatic shutdown when the completion queue (CQ) servicing that session has stopped, in scenarios where sessions are fired and forgotten."],["Applications can also explicitly shut down a session by calling `.cancel()` on the returned `future\u003cStatus\u003e`."],["The type alias for `ShutdownPollingPeriodOption` is defined as `std::chrono::milliseconds`, which is a type used for time durations."]]],[]]