Skip to content

Commit d1c986d

Browse files
committed
fix(workflows): use grpc proto http2
1 parent 69b82fc commit d1c986d

4 files changed

Lines changed: 0 additions & 9 deletions

File tree

apps/workflows/src/cron/checker.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ export const isAuthorizedDomain = (url: string) => {
5151
const logger = getLogger("workflow");
5252

5353
const client = new CloudTasksClient({
54-
fallback: "rest",
5554
projectId: env().GCP_PROJECT_ID,
5655
credentials: {
5756
client_email: env().GCP_CLIENT_EMAIL,

apps/workflows/src/cron/monitor.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ const redis = Redis.fromEnv();
3131

3232
const client = new CloudTasksClient({
3333
projectId: env().GCP_PROJECT_ID,
34-
fallback: "rest",
3534
credentials: {
3635
client_email: env().GCP_CLIENT_EMAIL,
3736
private_key: env().GCP_PRIVATE_KEY.replaceAll("\\n", "\n"),

apps/workflows/src/lib/native-fetch.ts

Lines changed: 0 additions & 6 deletions
This file was deleted.

apps/workflows/src/serve.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/// <reference lib="deno.ns" />
22

3-
import "./lib/native-fetch";
43
import { getLogger } from "@logtape/logtape";
54

65
import { env } from "./env";

0 commit comments

Comments
 (0)