@abyss-project/monitor 1.0.62 → 1.0.64

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -169,12 +169,5 @@ const isRoute = (target, propertyKey) => {
169
169
  const setLocalsMiddleware = (controller, options = { prefix: '/' }, controllerPrefix, path, method, propertyKey) => (req, res, next) => {
170
170
  res.locals.controller = controller.name;
171
171
  res.locals.path = `${options.prefix}${controllerPrefix}${path !== null ? path || req.path : ''}`;
172
- if (propertyKey) {
173
- const isKillable = Reflect.getMetadata(metadata_1.KILLABLE_WATERMARK, controller.prototype, propertyKey);
174
- res.locals.isKillable = !!isKillable;
175
- if (isKillable) {
176
- console.log(`[Killable Route] ${controller.name}.${String(propertyKey)} is marked as killable`);
177
- }
178
- }
179
172
  next();
180
173
  };
@@ -41,6 +41,7 @@ const waitForActiveRequests = async (timeout = 30000, checkInterval = 100, logge
41
41
  return new Promise((resolve, reject) => {
42
42
  const check = () => {
43
43
  checkCount++;
44
+ console.log(activeRequests, killableRequests);
44
45
  if (activeRequests === 0) {
45
46
  logger === null || logger === void 0 ? void 0 : logger.log('All active requests completed');
46
47
  resolve();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abyss-project/monitor",
3
- "version": "1.0.62",
3
+ "version": "1.0.64",
4
4
  "description": "Core package to interact with Abyss-Monitor",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",