From 0836a73870c1fda3379a5e4bff72ad6dbb265698 Mon Sep 17 00:00:00 2001 From: Kevin Roman <44275689+Kevin-Roman@users.noreply.github.com> Date: Wed, 3 Jan 2024 02:18:49 +0000 Subject: [PATCH 1/2] Replace submitStats query with submitStatsGlobal. --- src/core/query.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/query.ts b/src/core/query.ts index c9a1dc0..67e8383 100644 --- a/src/core/query.ts +++ b/src/core/query.ts @@ -24,7 +24,7 @@ export class Query { country: countryName ranking } - submits: submitStats { + submits: submitStatsGlobal { ac: acSubmissionNum { difficulty count } } } From 2079265758857094786c79b0ad0c516358e2f23b Mon Sep 17 00:00:00 2001 From: JacobLinCool Date: Sun, 7 Jan 2024 16:29:49 +0800 Subject: [PATCH 2/2] chore: update wrangler.toml --- .gitignore | 2 ++ wrangler.toml | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 821f2c7..ff5302a 100644 --- a/.gitignore +++ b/.gitignore @@ -78,3 +78,5 @@ typings/ dist/ lib/ **/.DS_Store +.wrangler/ + diff --git a/wrangler.toml b/wrangler.toml index cd8088b..03d9408 100644 --- a/wrangler.toml +++ b/wrangler.toml @@ -1,11 +1,12 @@ name = "leetcode" main = "dist/worker.js" -account_id = "b1c3d1b89f9131a84a0f1f6a973232f1" workers_dev = true compatibility_date = "2022-05-26" -kv_namespaces = [] node_compat = true +[limits] +cpu_ms = 50 + [build] command = "npm run -s build:worker"