Skip to content

v14: refactor: Simplify App.initServerSocket#4953

Closed
taimoorzaeem wants to merge 1 commit into
PostgREST:v14from
taimoorzaeem:v14
Closed

v14: refactor: Simplify App.initServerSocket#4953
taimoorzaeem wants to merge 1 commit into
PostgREST:v14from
taimoorzaeem:v14

Conversation

@taimoorzaeem
Copy link
Copy Markdown
Member

Backport 1a6ba20.

This change gets rid of unnecessary explicit bindRandomPortTCP in initServerSocket. Returned port value was ignored in removed code anyway as assigned port retrieval from an open socket is handled elsewhere.
Copy link
Copy Markdown
Member

@steve-chavez steve-chavez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, hold on. I think we agreed that refactor commits are high risk to backport.

Are you doing this to merge #4880 later? I think we should leave that one for a new version to be safe.

@taimoorzaeem
Copy link
Copy Markdown
Member Author

I think we agreed that refactor commits are high risk to backport. Are you doing this to merge #4880 later?

Yes, we did agree on that. I realize now that we shouldn't do it prematurely.

I think we should leave that one for a new version to be safe.

Right. Closing this 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants