Google Cloud Spanner C++ Client 2.13.0
A C++ Client Library for Google Cloud Spanner
|
Option for google::cloud::Options
to set the interval at which we refresh sessions so they don't get collected by the backend GC.
More...
#include <google/cloud/spanner/options.h>
Public Types | |
using | Type = std::chrono::seconds |
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.
using google::cloud::spanner::SessionPoolKeepAliveIntervalOption::Type = std::chrono::seconds |