Closed gvelez17 closed 1 week ago
side node, when i build on my laptop i get a unrelated error
src/ceramic-cli-utils.ts(530,5): error TS2322: Type 'import("/Users/gv/js-ceramic/packages/cli/node_modules/dids/dist/did").DID' is not assignable to type 'import("/Users/gv/js-ceramic/node_modules/dids/dist/did").DID'.
src/ceramic-daemon.ts(333,5): error TS2322: Type 'import("/Users/gv/js-ceramic/packages/cli/node_modules/dids/dist/did").DID' is not assignable to type 'import("/Users/gv/js-ceramic/node_modules/dids/dist/did").DID'.
Types have separate declarations of a private property '_client'.
lerna ERR! npm run build exited 2 in '@ceramicnetwork/cli'
after running npm install, not sure why this is, should be unrelated.
Description
From the datadog analysis, it looks like the gitcoin out of memory errors are related to queue growth specifically with the p-queue library.
This adds metrics to all instances of PQueue to track the size and add operations.
How Has This Been Tested?
Describe the tests that you ran to verify your changes. Provide instructions for reproduction.
PR checklist
Before submitting this PR, please make sure:
References:
Please list relevant documentation (e.g. tech specs, articles, related work etc.) relevant to this change, and note if the documentation has been updated.