budibase/packages/worker
mike12345567 7792a07899 Some updates, making sure databases will always close directly using finally checks around the actual tasks, updating how replication works to have a close statement (to make sure it is controlled correctly) and then updating to PouchDB 7.3.0 for one of the memory leak fixes. 2022-04-20 17:33:42 +01:00
..
.vscode fix launch.json for worker after TS migration 2022-03-28 12:06:37 +01:00
scripts Deprovision and local couch db url fix 2022-02-18 17:36:23 +00:00
src 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
.gitignore add typescript support 2022-01-19 23:44:17 +01:00
Dockerfile Upgrading to Node 14 across the board as recent packages don't support 12 anymore. 2021-11-18 10:59:35 +00:00
LICENSE License cleanup 2021-11-17 14:21:16 +00:00
nodemon.json Merge branch 'develop' into worker_typescript 2022-01-31 20:29:20 +00:00
package.json Some updates, making sure databases will always close directly using finally checks around the actual tasks, updating how replication works to have a close statement (to make sure it is controlled correctly) and then updating to PouchDB 7.3.0 for one of the memory leak fixes. 2022-04-20 17:33:42 +01:00
tsconfig.json add typescript support 2022-01-19 23:44:17 +01:00
yarn.lock Some updates, making sure databases will always close directly using finally checks around the actual tasks, updating how replication works to have a close statement (to make sure it is controlled correctly) and then updating to PouchDB 7.3.0 for one of the memory leak fixes. 2022-04-20 17:33:42 +01:00