Split the worker response into the data and the stats
commit359cc40eece8275def72189b5180c2fc14eeb692
authorGabe Levi <gabe@fb.com>
Sat, 15 Sep 2018 00:59:46 +0000 (14 17:59 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Sat, 15 Sep 2018 01:15:48 +0000 (14 18:15 -0700)
treecc5048641dd8b7dd210108651e7f90244a33a189
parent7423adfdc736a7b7a0828183d17fe289d4f4fe0a
Split the worker response into the data and the stats

Summary: Currently a worker response is a single blob that contains both the data and the stats. This separates the stats into a second response. This allows us to log things like how long the response takes to send and how many bytes it was.

Reviewed By: samwgoldman

Differential Revision: D9789539

fbshipit-source-id: ee4c5875608b8bc98c28f01910bf2a968cad4db3
hphp/hack/src/procs/worker.ml
hphp/hack/src/procs/workerController.ml
hphp/hack/src/procs/workerControllerLwt.ml