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
13,519
Commits
127
Branches
3,006
Tags
932
MiB
f0d823648a
Commit Graph
3 Commits
Author
SHA1
Message
Date
mike12345567
e5922269aa
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
192fb1307e
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
72534c6ed2
Refactoring backend-core tenancy to context, splitting out tenancy functionality to its own area.
2022-01-31 17:53:19 +00:00