vesoft-inc / nebula-java

Client API and data importer of Nebula Graph in Java
Apache License 2.0
171 stars 121 forks source link

When will storageclient provide the 'socketTimeout' parameter? #562

Closed awang12345 closed 9 months ago

awang12345 commented 10 months ago

nebula-client version:3.6 desc: At present, socketTimeout defaults to 1 second, which is easy to timeout when the amount of scan data is large or the network is slow and the storage service responds slowly

Nicole00 commented 9 months ago

nebula-client version:3.6 desc: At present, socketTimeout defaults to 1 second, which is easy to timeout when the amount of scan data is large or the network is slow and the storage service responds slowly

There is interfaces to config the timeout for StorageClient. https://github.com/vesoft-inc/nebula-java/blob/86d4a76c9fd8697e28b79fa3704406306dc7160c/client/src/main/java/com/vesoft/nebula/client/storage/StorageClient.java#L73