[ALOY-1693] Alloy: Prevent re-opening DB on queries
|Fix Version/s||CLI Release 7.1.2|
sync, Alloy will
closethe database. Which is unnecessary and has an overhead of ~5ms. - We can prevent closing the database and maintain an open connection to the database.
- Gary Mathews 2019-06-20 master: https://github.com/appcelerator/alloy/pull/933
- Ewan Harris 2019-10-16 [~gmathews] I'm guessing this came about from observing a customer app? Do you know of anything internal that we can use to fully exercise this?
- Samir Mohammed 2019-11-19
*Closing ticket*. Fix verified in CLI Version
"NPM":"4.2.15-1","CLI":"7.1.2-7".Tested using the Alloy sample apps which can be found in the Alloy repo, applications ran fine with no performance issues. *Test Environment*
MacOS Catalina 10.15.1 beta Xcode 11 Node.js 10.16.3 iphone 8 13.2 "NPM":"4.2.15-1","CLI":"7.1.2-7" SDK Version 8.3.0.v20191114073239