Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

chore/enterpriseportal: properly close DB handle#63426

Merged
bobheadxi merged 1 commit into
mainfrom
06-21-chore_enterpriseportal_properly_close_db_handle
Jun 21, 2024
Merged

chore/enterpriseportal: properly close DB handle#63426
bobheadxi merged 1 commit into
mainfrom
06-21-chore_enterpriseportal_properly_close_db_handle

Conversation

@bobheadxi

@bobheadxi bobheadxi commented Jun 21, 2024

Copy link
Copy Markdown
Member

Adds a clean shutdown for our primary DB handle, and removes some unused code.

Test plan

sg run enterprise-portal and stop it

@cla-bot cla-bot Bot added the cla-signed label Jun 21, 2024

bobheadxi commented Jun 21, 2024

Copy link
Copy Markdown
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @bobheadxi and the rest of your teammates on Graphite Graphite

@bobheadxi bobheadxi marked this pull request as ready for review June 21, 2024 22:17
@bobheadxi bobheadxi requested review from a team and unknwon June 21, 2024 22:17

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Moved these into concurrent shutdown because we have quite a few now, don't want to get stuck

Comment on lines 55 to 57

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Now I have to copy it to my notebook because I think later we will eventually need this 😂

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

It'll always be here in git history 😁

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

That's true but still not so convenient haha

Base automatically changed from ep-split-dataabses to main June 21, 2024 23:32
@bobheadxi bobheadxi force-pushed the 06-21-chore_enterpriseportal_properly_close_db_handle branch from d0011cc to 74f93b2 Compare June 21, 2024 23:39
@bobheadxi bobheadxi enabled auto-merge (squash) June 21, 2024 23:39
@bobheadxi bobheadxi merged commit 3d41fa9 into main Jun 21, 2024
@bobheadxi bobheadxi deleted the 06-21-chore_enterpriseportal_properly_close_db_handle branch June 21, 2024 23:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants