fastmail / Ix

automatic generation of JMAP-style APIs
GNU General Public License v2.0
10 stars 5 forks source link

Why a $$ based $schema cache? #115

Open shadowcat-mst opened 5 years ago

shadowcat-mst commented 5 years ago

DBIx::Class is already fork and thread safe - so I'm not sure why you don't just ->connect a single $schema early on and hang on to it?

rjbs commented 5 years ago

It's largely about test and test cleanup. I think this commit message probably answers it: https://github.com/fastmail/Ix/commit/ad8d0099