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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This webpage lists various versions of the `ShutdownPollingPeriodOption` for Google Cloud Pub/Sub, ranging from version 2.11.0 to the latest release candidate 2.37.0-rc."],["The `ShutdownPollingPeriodOption` determines how frequently a Pub/Sub session polls to detect if the associated completion queue (CQ) has shut down."],["Sessions can be shut down either by explicitly calling `.cancel()` on a future `Status` or by relying on automatic shutdown when the completion queue is terminated."],["`ShutdownPollingPeriodOption` is an alias for `std::chrono::milliseconds`, indicating that it represents a time duration in milliseconds."]]],[]]