Skip to content

Commit

Permalink
fixup! Implement and use HibernationManagerImpl
Browse files Browse the repository at this point in the history
  • Loading branch information
MellowYarker committed May 4, 2023
1 parent 5278b5e commit c866fab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/workerd/io/hibernation-manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class HibernationManagerImpl final : public Worker::Actor::HibernationManager {

// The following properties are moved from the `api::WebSocket` when the actor initiates
// hibernation, and are moved back into the `api::WebSocket` when it is re-activated.
kj::Array<kj::byte> attachment;
kj::Maybe<kj::Array<kj::byte>> attachment;
// Serialized attachment property of the api::WebSocket.
// The `attachment` is read upon waking from hibernation, and written to upon hibernating.
kj::Maybe<kj::String> url;
Expand Down

0 comments on commit c866fab

Please sign in to comment.