Skip to content

Commit

Permalink
Merge pull request #130 from cloudflare/disable-hibernation
Browse files Browse the repository at this point in the history
Disable hibernation
  • Loading branch information
third774 authored Oct 7, 2024
2 parents 78c8447 + de99d54 commit 86b3a30
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 86b3a30

Please sign in to comment.