Commit 6c8bd51
committed
add connect_timeout inside
`set_keyspace_blocking` is called from places holding
a lock, and in case that the connection is closed from
the server side, it might hang forever.
using the `connect_timeout` on it to make sure it
won't hang forever.
Ref: https://github.com/scylladb/scylladb/issues/15661set_keyspace_blocking
1 parent 11b3ac1 commit 6c8bd51
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1509 | 1509 | | |
1510 | 1510 | | |
1511 | 1511 | | |
1512 | | - | |
| 1512 | + | |
1513 | 1513 | | |
1514 | 1514 | | |
1515 | 1515 | | |
| |||
0 commit comments