ProcManager: only log times_out_of_qworkers for new queries
commit93eac8826f38bc9799d7b810ee065c05afcc5151
authorEric Wong <normalperson@yhbt.net>
Sat, 23 Feb 2013 19:37:52 +0000 (23 19:37 +0000)
committerEric Wong <normalperson@yhbt.net>
Sat, 23 Feb 2013 19:37:52 +0000 (23 19:37 +0000)
tree818dcdc47e9734e7635a7d0b4e9fd4ce408e9396
parent221808c482aa9ed32fa08985432e0ab142ebd113
ProcManager: only log times_out_of_qworkers for new queries

Logging times_out_of_qworkers in ProcessQueues is not accurate:
recently-idle queryworkers may not be noticed and marked idle while
ProcessQueues is looping and draining the @IdleQueryWorkers pool.

Instead, only log times_out_of_qworkers when new requests are
enqueued.
lib/MogileFS/ProcManager.pm