Budibase is an open-source low-code platform for creating internal apps in minutes. Supports PostgreSQL, MySQL, MSSQL, MongoDB, Rest API, Docker, K8s 🚀
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
mike12345567 d2987fcf39 PR comments. 4 years ago
..
tests WIP: Memory leak fix 4 years ago
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. 4 years ago
constants.ts Fixing some issues highlighted by test cases, as well as refactoring context a bit to make it easier to edit. 4 years ago
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. 4 years ago
identity.ts Identity tenant and installation groups, property updates 4 years ago
index.ts PR comments. 4 years ago
utils.ts Fixing some issues highlighted by test cases, as well as refactoring context a bit to make it easier to edit. 4 years ago