vesoft-inc / nebula-go

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

enhance session pool for http2 #339

Closed HarrisChu closed 5 months ago

HarrisChu commented 5 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