Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
일단 모두 Section.LENGTH * 2 를 limit으로 하드코딩 해 놨는데 이후 환경변수로 바꿀 예정입니다.
set-view-size와 커넥션 생성을 분리하여 따로 로직을 실행 하는 것이 불필요하다고 생각합니다.
더 좋은 형태는 커넥션 생성 때는 커서를 만들어 놓기만 하고, 이후 클라이언트에서 set-view-size를 호출하여 커서를 완성하는 것인 것 같습니다.
cursor pending 처리할때 같이 작업하면 좋을 것 같습니다.