This website requires JavaScript.
Explore
Help
Sign In
MirrorSave
/
budibase
mirror of
https://github.com/Budibase/budibase.git
Watch
1
Star
0
Fork
You've already forked budibase
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
24,564
Commits
116
Branches
2,985
Tags
933
MiB
f1859076e2
Commit Graph
3 Commits
Author
SHA1
Message
Date
mike12345567
bba1fdcb7c
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
mike12345567
ea6f580501
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
mike12345567
9fa10ff02f
Refactoring backend-core tenancy to context, splitting out tenancy functionality to its own area.
2022-01-31 17:53:19 +00:00