Summary: There's an issue with folly's delayedUnsafe(), where it drops your executor and effectively runs all futures inline, in this case instead of scheduling tasks for the future, it grows the stack indefinitely. This fixes the issue by using the safe delayed(), which preserves the executor, so the jobs get shceduled on a different thread as intended. Reviewed By: LeeHowes Differential Revision: D8575956 fbshipit-source-id: c5b2ced43a70505c51883281f202ac947ae6723f
8.4 KiB
8.4 KiB