feat: add direct PostgreSQL and ACK deployment support
This commit is contained in:
@@ -21,4 +21,11 @@ describe("worker script configuration", () => {
|
||||
stderr: expect.stringContaining("ZHINIAN_INTERNAL_WORKER_TOKEN is required")
|
||||
});
|
||||
});
|
||||
|
||||
it("bounds each internal tick request with AbortSignal.timeout", async () => {
|
||||
const source = await import("node:fs/promises").then(({ readFile }) =>
|
||||
readFile(new URL("../scripts/worker.mjs", import.meta.url), "utf8")
|
||||
);
|
||||
expect(source).toContain("AbortSignal.timeout(requestTimeoutMs)");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user