Allow bucket generation for Multiworker based on a total bucket count and pass
commita12fbe8d7adc8941b0829dce8cff9275db9526a2
authorManuel Fahndrich <fahndrich@fb.com>
Fri, 9 Dec 2016 00:56:09 +0000 (8 16:56 -0800)
committerHhvm Bot <hhvm-bot-bot@fb.com>
Mon, 12 Dec 2016 21:09:18 +0000 (12 13:09 -0800)
treeeec849affe844319edb264d8099d7715033fba4d
parent25c12df80e929b286bc72556d8f346ee835e097a
Allow bucket generation for Multiworker based on a total bucket count and pass

Summary: Generalized buckets with index and total.

Reviewed By: dkgi

Differential Revision: D4292759

fbshipit-source-id: 2db5502ba18d38618ad956d4113601f9bf8f0872
hphp/hack/src/procs/bucket.ml
hphp/hack/src/procs/bucket.mli
hphp/hack/test/procs/procs_unit_test.ml