Google Cloud Spanner C++ Client  1.32.1
A C++ Client Library for Google Cloud Spanner
Public Types | List of all members
google::cloud::spanner::v1::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.

Definition at line 135 of file options.h.

Member Typedef Documentation

◆ Type

Definition at line 136 of file options.h.