budibase/packages/backend-core/src/context
mike12345567 ed27b71103 Adding tenancy awareness for plugin bucket. 2022-09-23 16:30:45 +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 Replacing all plural TS enumerations with singular - this involves a major rename of the DocumentTypes. 2022-08-11 13:50: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 Adding tenancy awareness for plugin bucket. 2022-09-23 16:30:45 +01:00
utils.ts Replacing all plural TS enumerations with singular - this involves a major rename of the DocumentTypes. 2022-08-11 13:50:05 +01:00