Skip to content

Commit

Permalink
fixup! Evict actors after 10 sec inactivity in Workerd
Browse files Browse the repository at this point in the history
  • Loading branch information
MellowYarker committed Sep 27, 2023
1 parent 56beafc commit 0cbd55f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/workerd/server/server.c++
Original file line number Diff line number Diff line change
Expand Up @@ -1496,7 +1496,6 @@ public:

kj::StringPtr getKey() { return key; }
RequestTracker& getTracker() { return *tracker; }
// True if we've "evicted" the Worker::Actor, i.e. the shutdownTask timer completed.
kj::Maybe<kj::Own<Worker::Actor::HibernationManager>> tryGetManagerRef() {
return manager.map([&](kj::Own<Worker::Actor::HibernationManager>& m) {
return kj::addRef(*m);
Expand Down

0 comments on commit 0cbd55f

Please sign in to comment.