Skip to content

Commit

Permalink
Fix typos & formatting (#666)
Browse files Browse the repository at this point in the history
  • Loading branch information
EinKrebs authored May 23, 2024
1 parent c09ead2 commit 4fa61b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion router/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ type RouterClient interface {

/* only call this function while holding lock */
Server() server.Server
/* functions for operation with cleint's server */
/* functions for operation with client's server */

ServerAcquireUse()
ServerReleaseUse()

Expand All @@ -59,6 +60,7 @@ type RouterClient interface {
Rule() *config.FrontendRule

/* Client target-session-attrs policy */

GetTsa() string
SetTsa(string)

Expand Down
2 changes: 1 addition & 1 deletion router/relay/relay.go
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ func (rst *RelayStateImpl) ProcCommand(query pgproto3.FrontendMessage, waitForRe
_ = rst.
Client().
ReplyDebugNotice(
fmt.Sprintf("executing your query %v", query)) // TODO perfomance issue
fmt.Sprintf("executing your query %v", query)) // TODO performance issue

if err := rst.Client().Server().Send(query); err != nil {
return err
Expand Down

0 comments on commit 4fa61b4

Please sign in to comment.