Any chance we'll be seeing it this week? 🙂
Any chance we'll be seeing it this week? 
Deletes are counted as rows written.deleteAll() which effectively removes DO is treated the same or not.ProxyReadTimeout is defined here: https://developers.cloudflare.com/api/resources/zones/subresources/settings/models/proxy_read_timeout/
wrangler config file in the project to have the binding.Deletes are counted as rows written.ProxyReadTimeoutimport { DurableObject } from 'cloudflare:workers';
export class Aggregator extends DurableObject { /* ... */ }
export default { async fetch() { /* ... */ } }// Export Durable Object
export { MyDurable } from './durables/MyDurable.js'; "durable_objects": {
"bindings": [
{
"name": "MY_DURABLE",
"class_name": "MyDurable"
}
]import { DurableObject } from 'cloudflare:workers';
let LOCK_TIMEOUT = 5000; // 5 seconds
let RATE_LIMIT_WINDOW = 200; // 200 milliseconds, now using stamina in cast system
// UserLock.js
export default class RateLimitkDurableObject extends DurableObject {
constructor(state, env) {
super(state, env);
this.state = state;
this.env = env;
}
async acquireLock() {
// Check if user is locked
const isLocked = await this.state.storage.get("isLocked");
if (isLocked) {
// check lastInteraction
const lastInteraction = (await this.state.storage.get("lastInteraction")) || 0;
if (Date.now() - lastInteraction < LOCK_TIMEOUT) {
throw new Error("User is currently locked");
}
}
// Check rate limit (e.g., 1 request per 15 seconds)
const lastInteraction = (await this.state.storage.get("lastInteraction")) || 0;
const now = Date.now();
const rateLimitWindow = RATE_LIMIT_WINDOW;
if (now - lastInteraction < rateLimitWindow) {
let timeLeft = Math.ceil((rateLimitWindow - (now - lastInteraction)) / 1000);
throw new Error(`Please try again in ${timeLeft} seconds.`);
}
// Acquire lock and update last interaction time
await this.state.storage.put("isLocked", true);
await this.state.storage.put("lastInteraction", now);
return { status: "Lock acquired" };
}
async releaseLock() {
// Release lock
console.log("Releasing lock for user");
await this.state.storage.put("isLocked", false);
return { status: "Lock released" };
}
}