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 provides documentation for the \u003ccode\u003eSessionPoolKeepAliveIntervalOption\u003c/code\u003e in the Google Cloud Spanner C++ library, specifically detailing its availability across different versions.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is \u003ccode\u003e2.37.0-rc\u003c/code\u003e, with a comprehensive list of prior versions extending back to \u003ccode\u003e2.11.0\u003c/code\u003e, all of which are documented on this page.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSessionPoolKeepAliveIntervalOption\u003c/code\u003e is used to configure the frequency at which sessions are refreshed to prevent them from being garbage collected by the backend, with the duration generally recommended to be under 60 minutes.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSessionPoolKeepAliveIntervalOption\u003c/code\u003e is an option for \u003ccode\u003egoogle::cloud::Options\u003c/code\u003e, used for refreshing sessions to avoid their collection by the backend GC.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSessionPoolKeepAliveIntervalOption\u003c/code\u003e is an alias of \u003ccode\u003estd::chrono::seconds\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]