mike12345567
|
7792a07899
|
Some updates, making sure databases will always close directly using finally checks around the actual tasks, updating how replication works to have a close statement (to make sure it is controlled correctly) and then updating to PouchDB 7.3.0 for one of the memory leak fixes.
|
2022-04-20 17:33:42 +01:00 |
|
mike12345567
|
ea6f580501
|
Initial version of memory leak protection, making sure that PouchDB databases are closed correctly after use, using a combination of closures wrapping DB gets (this replaces the getDB, leaving only a dangerousGetDB function which can be used in very very specific scenarios) and then closing the DB as part of CLS hooked functions finishing. Also moving the GlobalDB init to the tenancy middleware as this is used everywhere in the worker/app services - means that not all getGlobalDB calls require an async closure around them.
|
2022-04-19 19:42:52 +01:00 |
|
Rory Powell
|
769f48f935
|
Remove remaining direct usage of CouchDB. Add common pouch config to backend-core
|
2022-04-19 16:45:27 +01:00 |
|
mike12345567
|
8f70ad9cdc
|
Performance improvements after testing - switching to temporary in memory queries for cloud views.
|
2021-09-21 15:59:50 +01:00 |
|
mike12345567
|
0651b874ac
|
Fixing issues with automation steps found during testing.
|
2021-09-20 19:21:04 +01:00 |
|
mike12345567
|
ac944e532b
|
Moving views into a different location so they don't trigger tree creation and attempting to use in memory pouchDB to run views on the fly.
|
2021-09-20 18:24:09 +01:00 |
|