budibase/packages/backend-core/src/tenancy
Rory Powell ee9a19a1d5 Back populate no-op migrations on new app and tenant create 2022-06-13 10:51:29 +01:00
..
index.ts Back populate no-op migrations on new app and tenant create 2022-06-13 10:51:29 +01:00
tenancy.ts Back populate no-op migrations on new app and tenant create 2022-06-13 10:51:29 +01:00
utils.js 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