Skip to content

Commit fe677af

Browse files
authored
doc: Leader aware routing (#1842)
1 parent 685ea0e commit fe677af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ export type GetInstanceConfigOperationsCallback = PagedCallback<
108108

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

0 commit comments

Comments
 (0)