sapling/eden/fs
Wez Furlong b06681a4da remove use of folly::window
Summary:
We're using `window` to constrain resources and maintain an upper
bound on the number of futures that we spawn.  Ironically, for a largish number
of already completed futures, this results in a recursive chain of `spawn`
calls in the `window` implementation and results in a stack overflow (the kind
that crashes a program, not the kind that answers programming questions).

This diff removes the use of `window` and replaces it with `collect`.
An earlier iteration of this diff just made all of these calls serially,
blocking the main thread.  This at least does things in parallel; both
can torture the system for pathological walks, but at least the parallel
one should complete faster.

Reviewed By: simpkins

Differential Revision: D4932774

fbshipit-source-id: 40d39a85029f38ff69a530070efb879a81950451
2017-05-18 12:55:17 -07:00
..
config support storing two parent commits 2017-04-27 11:50:13 -07:00
fuse move eden/utils and eden/fuse into eden/fs 2017-04-14 11:39:02 -07:00
inodes Add missing includes in eden files 2017-05-03 10:30:32 -07:00
journal move eden/utils and eden/fuse into eden/fs 2017-04-14 11:39:02 -07:00
model Add missing deps on @/folly:array 2017-05-14 16:05:49 -07:00
rocksdb update all copyright statements to "2016-present" 2017-01-20 22:03:02 -08:00
service remove use of folly::window 2017-05-18 12:55:17 -07:00
store Add missing deps on @/folly:array 2017-05-14 16:05:49 -07:00
testharness update the hg extension to support multiple parents 2017-04-27 17:37:03 -07:00
utils open(O_CREAT): supply required third argument on .cpp/.h files 2017-05-10 07:51:04 -07:00