Skip to content

Commit

Permalink
doc: Leader aware routing (googleapis#1842)
Browse files Browse the repository at this point in the history
  • Loading branch information
surbhigarg92 committed May 2, 2023
1 parent 685ea0e commit fe677af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ export type GetInstanceConfigOperationsCallback = PagedCallback<

/**
* Session pool configuration options.
* @property {boolean} [routeToLeaderEnabled=True] If set to false leader aware routing will be disabled.
* Disabling leader aware routing would route all requests in RW/PDML transactions to any region.
* @property {boolean} [routeToLeaderEnabled=False] If set to true leader aware routing will be enabled.
* Enabling leader aware routing would route all requests in RW/PDML transactions to leader region.
*/
export interface SpannerOptions extends GrpcClientOptions {
apiEndpoint?: string;
Expand Down

0 comments on commit fe677af

Please sign in to comment.