Google Cloud Spanner C++ Client 2.13.0
A C++ Client Library for Google Cloud Spanner
Loading...
Searching...
No Matches
Public Types | List of all members
google::cloud::spanner::SessionPoolKeepAliveIntervalOption Struct Reference

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
 

Detailed Description

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.

Member Typedef Documentation

◆ Type