vesoft-inc / nebula-go

Nebula client in Golang
Apache License 2.0
134 stars 70 forks source link

enhance session pool for http2 #340

Closed HarrisChu closed 3 months ago

HarrisChu commented 3 months ago

add new retry for http2

  1. if session is invalid, get the session from pool idle list, if cannot get new session, create a new session and then retry execution
  2. if connection is error, do nothing and then retry execution