tangled
alpha
login
or
join now
openstatus.dev
/
openstatus
6
fork
atom
Openstatus
www.openstatus.dev
6
fork
atom
overview
issues
pulls
pipelines
ðŸ˜
thibault.tngl.sh
5 months ago
6691c886
4b36a07b
+2
-2
1 changed file
expand all
collapse all
unified
split
apps
workflows
src
cron
checker.ts
+2
-2
apps/workflows/src/cron/checker.ts
reviewed
···
34
34
// 5-second timeout sufficient for ping response
35
35
'grpc.keepalive_timeout_ms': 5000,
36
36
// Disable pings without active calls to avoid server conflicts
37
37
-
'grpc.keepalive_permit_without_calls': false,
37
37
+
'grpc.keepalive_permit_without_calls': 1,
38
38
};
39
39
40
40
const client = new CloudTasksClient({
···
156
156
const success = allRequests.filter((r) => r.status === "fulfilled").length;
157
157
const failed = allRequests.filter((r) => r.status === "rejected").length;
158
158
const failedRequest = allRequests.filter((r) => r.status === "rejected")
159
159
-
console.log(failedRequest)
159
159
+
console.log(failedRequest?.at(0))
160
160
console.log(
161
161
`End cron for ${periodicity} with ${allResult.length} jobs with ${success} success and ${failed} failed`,
162
162
);