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++ client library.\u003c/p\u003e\n"],["\u003cp\u003eThe latest release candidate version is 2.37.0-rc, with the current version at the top of the page being 2.33.0.\u003c/p\u003e\n"],["\u003cp\u003eIt details how to set the interval for refreshing sessions to prevent garbage collection, which can collect objects older than 60 minutes.\u003c/p\u003e\n"],["\u003cp\u003eThere is an extensive list of past versions ranging from 2.36.0 to 2.11.0, and each version can be linked to view its documentation for the \u003ccode\u003eSessionPoolKeepAliveIntervalOption\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThe option uses \u003ccode\u003estd::chrono::seconds\u003c/code\u003e as its underlying type, dictating the duration for session refreshes.\u003c/p\u003e\n"]]],[],null,[]]