iya-sts
    Preparing search index...
    collectGarbage: (body: any, actor?: string) => Promise<any> = ...

    Type Declaration

      • (body: any, actor?: string): Promise<any>
      • Runs a full garbage collection in the front process's main thread, in one worker thread, or in all of them, and reports each isolate's heap before and after: POST /admin-api/node-health/collect-garbage.

        Parameters

        • body: any

          { action, target }; target is all, front or a worker thread's threadId, and all when absent

        • Optionalactor: string

          who asked, for the audit row

        Returns Promise<any>

        { ok, status, ... }: the per-isolate rows, unanswered, totals and message, or a refusal with errors and errorCode