bajosi
bajosi
Explore posts from servers
CDCloudflare Developers
Created by bajosi on 10/6/2023 in #workers-help
SSE data buffers for 8/16 messages
i built an api for SSE, but it only sends messages as batch. why would that be?
2 replies
DDeno
Created by bajosi on 8/15/2023 in #help
Relative import path "ioredis" not prefixed with / or ./ or ../
// main.ts
import Redis from "ioredis";
// main.ts
import Redis from "ioredis";
// deno.json
{
"imports": {
"ioredis": "https://esm.sh/ioredis@^5.3.2"
}
}
// deno.json
{
"imports": {
"ioredis": "https://esm.sh/ioredis@^5.3.2"
}
}
2 replies
CDCloudflare Developers
Created by bajosi on 8/7/2023 in #workers-help
WebSocket
Will websocket connection stay open as long as it doesn't exceed the cpu limit right?
1 replies
CDCloudflare Developers
Created by bajosi on 3/5/2023 in #workers-help
Keep worker running without request
I will be streaming files from S3/R2 to another service. I am planning to use worker for this scenario, since it has no bandwidth fee and any other cpu process usage. Is it possible to keep worker streaming files even after i cancel the 'fetch' request? In the docs it says, it can keep running at most 30 secs after fetch cancelled. I am pretty sure, 30 secs would be enough to deliver the files, since they are a few GBs at most.
4 replies