Skip to content

Commit

Permalink
Disable hibernation
Browse files Browse the repository at this point in the history
  • Loading branch information
third774 committed Oct 7, 2024
1 parent 78c8447 commit de99d54
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/durableObjects/ChatRoom.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ export class ChatRoom extends Server<Env> {
this.db = getDb(this)
}

static options = {
hibernate: true,
}

// a small typesafe wrapper around connection.send
sendMessage<M extends ServerMessage>(connection: Connection, message: M) {
connection.send(JSON.stringify(message))
Expand Down

0 comments on commit de99d54

Please sign in to comment.