From de99d54b6d03c908a805651e6fe3f68a330b76fc Mon Sep 17 00:00:00 2001 From: Kevin Kipp Date: Mon, 7 Oct 2024 14:30:01 -0500 Subject: [PATCH] Disable hibernation --- app/durableObjects/ChatRoom.server.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/durableObjects/ChatRoom.server.ts b/app/durableObjects/ChatRoom.server.ts index 521f9d3e..9389afaa 100644 --- a/app/durableObjects/ChatRoom.server.ts +++ b/app/durableObjects/ChatRoom.server.ts @@ -36,10 +36,6 @@ export class ChatRoom extends Server { this.db = getDb(this) } - static options = { - hibernate: true, - } - // a small typesafe wrapper around connection.send sendMessage(connection: Connection, message: M) { connection.send(JSON.stringify(message))