1
0
Fork 0
mirror of synced 2024-05-17 10:53:15 +12:00
budibase/packages/worker/src/api/controllers
2022-06-23 14:29:19 +01:00
..
global Merge commit 2022-06-23 14:29:19 +01:00
system 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