Page MenuHomePhabricator

In Phage, don't sit in a loop once we've read all messages from an agent
ClosedPublic

Authored by epriestley on Feb 19 2017, 3:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jun 2, 8:22 AM
Unknown Object (File)
Sat, May 31, 1:44 PM
Unknown Object (File)
Fri, May 30, 10:13 PM
Unknown Object (File)
Thu, May 29, 9:04 AM
Unknown Object (File)
May 20 2025, 2:33 PM
Unknown Object (File)
May 9 2025, 11:59 PM
Unknown Object (File)
May 9 2025, 11:44 AM
Unknown Object (File)
Apr 22 2025, 9:39 PM
Subscribers
None

Details

Summary

Ref T2794. The logic is intended to read "loop until we're done processing messages", but is currently missing a break;. This doesn't affect behavior yet, just makes us eat way too much CPU.

Test Plan

Saw time phage remote --hosts db001-16 status drop from 99% CPU time to <10%.

Diff Detail

Repository
rPHU libphutil
Lint
Lint Not Applicable
Unit
Tests Not Applicable