angelcapitalp
angelcapitalp
DDeno
Created by angelcapitalp on 6/16/2024 in #help
How can I add a flag into Deno Deploy in production?
Hi, I am wondering how do I add a flag in production on Deno deploy if I want to enable a certain flag?
2 replies
DDeno
Created by angelcapitalp on 6/14/2024 in #help
Deno.cron error
Hi I keep having an error on deno deploy where my cron job doesn't seem to execute well in production. I have server.ts where I import the cron job script:
import "./mongoTestCron.ts";
import "./mongoTestCron.ts";
and inside of the mongoTestCron.ts I have:
Deno.cron("processDocumentsEveryMinute", "* * * * *", async () => {
await checkAndProcessDocuments();
});
Deno.cron("processDocumentsEveryMinute", "* * * * *", async () => {
await checkAndProcessDocuments();
});
Works well in local, on deno deploy I get errors: rror processing document: Error: HTTP error! status: 508 at checkAndProcessDocuments (file:///src/mongoTestCron.ts:51:17) at eventLoopTick (ext:core/01_core.js:168:7) at async file:///src/mongoTestCron.ts:87:3 at async ext:deno_cron/01_cron.ts:102:42
2 replies