Option for google::cloud::Options to set the interval at which we refresh sessions so they don't get collected by the backend GC.
The GC collects objects older than 60 minutes, so any duration below that (less some slack to allow the calls to be made to refresh the sessions) should suffice.
[[["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-22 UTC."],[[["\u003cp\u003eThis page lists various versions of the \u003ccode\u003eSessionPoolKeepAliveIntervalOption\u003c/code\u003e for Google Cloud Spanner's C++ client library, with version 2.37.0-rc being the latest.\u003c/p\u003e\n"],["\u003cp\u003eEach version listed corresponds to a specific release of the C++ library, allowing users to access documentation relevant to their version, including versions as old as 2.11.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSessionPoolKeepAliveIntervalOption\u003c/code\u003e allows setting an interval for refreshing sessions to prevent garbage collection by the backend, which collects objects older than 60 minutes.\u003c/p\u003e\n"],["\u003cp\u003eThe type alias for this option is \u003ccode\u003estd::chrono::seconds\u003c/code\u003e, indicating the interval is specified in seconds.\u003c/p\u003e\n"],["\u003cp\u003eThis page offers documentation to configure the session refresh interval for \u003ccode\u003egoogle::cloud::Options\u003c/code\u003e to prevent the backend garbage collector from collecting sessions.\u003c/p\u003e\n"]]],[],null,[]]