Ahmed Eid
Explore posts from serversCDCloudflare Developers
•Created by henrikhlind on 11/6/2024 in #workers-help
Nest.js as Worker
I believe it should work just fine, any specific issues ?
3 replies
CDCloudflare Developers
•Created by Ahmed Eid on 11/6/2024 in #workers-help
Error: [unenv] fs.readFile is not implemented yet when getting presigned url with s3 packages.
unable to tell what I am doing wrong.
2 replies
CDCloudflare Developers
•Created by Ahmed Eid on 10/31/2024 in #workers-help
database connection doesn't work in / behave strangely in global context.
I change it to this
9 replies
CDCloudflare Developers
•Created by Ahmed Eid on 10/31/2024 in #workers-help
database connection doesn't work in / behave strangely in global context.
I think so, I am new to this TBH. I am still learning.
9 replies
CDCloudflare Developers
•Created by Ahmed Eid on 10/25/2024 in #general-help
my worker is throwing too many, error 1101.
same issue thou when I try to cache the connection
db
24 replies
CDCloudflare Developers
•Created by Ahmed Eid on 10/31/2024 in #workers-help
database connection doesn't work in / behave strangely in global context.
I looked into hyperdrive ( still don't understand it fully .. )
do you think this is performant enough ?
9 replies
CDCloudflare Developers
•Created by Ahmed Eid on 10/25/2024 in #general-help
my worker is throwing too many, error 1101.
how does this look ?
24 replies
CDCloudflare Developers
•Created by Ahmed Eid on 10/25/2024 in #general-help
my worker is throwing too many, error 1101.
yeah, I am looking how to use it right now. thanks.
24 replies
CDCloudflare Developers
•Created by Ahmed Eid on 10/31/2024 in #workers-help
database connection doesn't work in / behave strangely in global context.
this unfortunately doesn't work either.
it's weird, cuz one request works & the 2nd one doesn't...
9 replies
CDCloudflare Developers
•Created by Ahmed Eid on 10/25/2024 in #general-help
my worker is throwing too many, error 1101.
should I init a new db connection per request, can't I cache the connection somehow to reuse it between requests ?
24 replies
CDCloudflare Developers
•Created by Ahmed Eid on 10/25/2024 in #general-help
my worker is throwing too many, error 1101.
this works
but this doesn't
24 replies
CDCloudflare Developers
•Created by Ahmed Eid on 10/25/2024 in #general-help
my worker is throwing too many, error 1101.
it's not because of
pg
moving the db connection to the route and destroying it in the route. works perfectly.24 replies
CDCloudflare Developers
•Created by Ahmed Eid on 10/25/2024 in #general-help
my worker is throwing too many, error 1101.
24 replies
CDCloudflare Developers
•Created by Ahmed Eid on 10/25/2024 in #general-help
my worker is throwing too many, error 1101.
@Walshy ideas ?
it's weird cuz 1 request works another doesn't.
24 replies
CDCloudflare Developers
•Created by Ahmed Eid on 10/25/2024 in #general-help
my worker is throwing too many, error 1101.
could it be because of "pg" ?
24 replies
CDCloudflare Developers
•Created by Ahmed Eid on 10/25/2024 in #general-help
my worker is throwing too many, error 1101.
is there something wrong with exporting connections from the global scope like so ?
utils/db.ts
24 replies
CDCloudflare Developers
•Created by Ahmed Eid on 10/25/2024 in #general-help
my worker is throwing too many, error 1101.
unfortunately I am still facing this issue.
24 replies