budibase/packages/backend-core/src/context
mike12345567 d2987fcf39 PR comments. 2022-07-18 18:18:01 +01:00
..
tests WIP: Memory leak fix 2022-07-13 08:22:21 -04:00
FunctionContext.js Switching over to using our own version of cls-hooked which has the memory leak (no async hooks disable call) fixed as well as changing how we use the CLS namespaces to allow us to destroy the namespace we use per request. 2022-05-10 16:37:24 +01:00
constants.ts Fixing some issues highlighted by test cases, as well as refactoring context a bit to make it easier to edit. 2022-07-14 16:02:05 +01:00
deprovision.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
identity.ts Identity tenant and installation groups, property updates 2022-05-28 21:38:22 +01:00
index.ts PR comments. 2022-07-18 18:18:01 +01:00
utils.ts Fixing some issues highlighted by test cases, as well as refactoring context a bit to make it easier to edit. 2022-07-14 16:02:05 +01:00