Starry Miracle
Starry Miracle
CDCloudflare Developers
Created by Starry Miracle on 3/31/2025 in #workers-help
Error 1015 on D1 database
I recently checked my error logs and find out that it is getting Error for D1 database requests (but not web fetch requests) I am calling from cron and I am aware of the 50 subrequest/call (free tier). I got error 1015 (I believe from D1 read) and D1_ERROR Error exexuting batch insert. I checked the Rows Written in D1 database page and it is only showing a few hundreds. Rows Read is 2.5k. Any ideas on this issue?
2 replies
CDCloudflare Developers
Created by Starry Miracle on 3/12/2025 in #workers-help
General question about cron worker limit in place
Hi, I am working on some self project poc and come up with the obstacle on the limit of 5 cron triggers in free tier. Currently I separate my functions into 1A,1B,1C,1D, 2, 3. Function 1 runs in every 5 minutes, function 2 runs every day, and function 3 runs every minute. Ofc I can pay-2-solve the problem or just combining workers with similar purpose to one single worker which runs different part of the code in different intervals. But that defies the orginal purpose of separating the codes for better readability and easier maintainance. But I just wonder why there is the limit of cron workers there in first place? If it is there for testing shouldnt the other limit (requests, Storage R/W) is enough to prevent abuse? Maybe someone from cloudflare can answer this?
5 replies