diff --git a/folly/fibers/FiberManagerInternal-inl.h b/folly/fibers/FiberManagerInternal-inl.h index e9e46aa456a..5297241d5e2 100644 --- a/folly/fibers/FiberManagerInternal-inl.h +++ b/folly/fibers/FiberManagerInternal-inl.h @@ -199,6 +199,7 @@ inline void FiberManager::runReadyFiber(Fiber* fiber) { if (fibersPoolSize_ < options_.maxFibersPoolSize || options_.fibersPoolResizePeriodMs > 0) { + fiber->fiberStackHighWatermark_ = 0; fibersPool_.push_front(*fiber); ++fibersPoolSize_; } else {