Page MenuHomePhabricator

only connect on init when needed
ClosedPublic

Authored by alangenfeld on Jan 14 2021, 4:03 PM.

Details

Summary

nit pick feedback on D5982,

this connect call has a cost (depending on network distance to DBs), at least in the non-dagit code paths when pooling isn't on so only do it when needed

Test Plan

bk

Diff Detail

Repository
R1 dagster
Branch
db (branched from master)
Lint
Lint OK
Unit
No Unit Test Coverage