TigersWay
TigersWay
CDCloudflare Developers
Created by TigersWay on 10/9/2023 in #workers-help
unstable network / CPU Time
The "CPU Time" of a worker, which is one important element of your billing is clearly not stable, and its raise strangely seems to happen while I get some "D1_ERROR: Error: Network connection lost". I have to conclude - so far - that "CPU Time" is not "CPU only"!!! Where am I wrong?
1 replies
CDCloudflare Developers
Created by TigersWay on 8/9/2023 in #workers-help
How long can a worker be running/stay alive?
It seems that a "free" worker stays alive (despite being inactive) for 20s before being killed. Is that true or just the same for "payed" workers?
3 replies
CDCloudflare Developers
Created by TigersWay on 8/9/2023 in #workers-help
Can a worker (with a router) call itself?
Is there any way to call a specific endpoint from the same worker? As long as we have at least 2 endpoints! Can we set a binding to "MYSELF"? And how to use it then?
1 replies
CDCloudflare Developers
Created by TigersWay on 6/12/2023 in #workers-help
What's my name?
Is there any way inside a running worker to know its name? the one set inside the toml file. Thanks
5 replies
CDCloudflare Developers
Created by TigersWay on 4/21/2023 in #workers-help
Workers, Pages Functions & 10ms CPU Time
Hi, Studying what could fit in the well-known "10ms CPU Time", I was surprised by some "discrepancies": - the same code in a worker is going to be (statistically) slightly faster than in a page-function, - that same function - if the only one - is going to be (statistically) slightly faster than grouped with others even non used. Of course, it's never much, but enough to make it jump over the 10ms! Is that logical, even expected? Anyone has done some real extensive tests?
11 replies
CDCloudflare Developers
Created by TigersWay on 4/11/2023 in #workers-help
Would love to get some color(s) when using `wrangler tail` or `wrangler pages tail`...
chalk and co do not seem to work. Anyone has any idea or advice?
2 replies