File tree 1 file changed +3
-4
lines changed
google-cloud-spanner/src/main/java/com/google/cloud/spanner
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 28
28
* read-write/write-only transactions, create multiple sessions. Note that standalone reads and
29
29
* queries use a transaction internally, and count toward the one transaction limit.
30
30
*
31
- * <p>Cloud Spanner limits the number of sessions that can exist at any given time; thus, it is a
32
- * good idea to delete idle and/or unneeded sessions. Aside from explicit deletes, Cloud Spanner can
33
- * delete sessions for which no operations are sent for more than an hour, or due to internal
34
- * errors. If a session is deleted, requests to it return {@link ErrorCode#NOT_FOUND}.
31
+ * <p>It is a good idea to delete idle and/or unneeded sessions. Aside from explicit deletes, Cloud
32
+ * Spanner can delete sessions for which no operations are sent for more than an hour, or due to
33
+ * internal errors. If a session is deleted, requests to it return {@link ErrorCode#NOT_FOUND}.
35
34
*
36
35
* <p>Idle sessions can be kept alive by sending a trivial SQL query periodically, for example,
37
36
* {@code SELECT 1}.
You can’t perform that action at this time.
0 commit comments