You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cmdlib/sharding: process new repos concurrently in set_shards
Summary:
When handling `set_shards`, process up to 20 repos at a time.
Because of the mutable reference lifetime of the lock guard, we can't simply use a stream combinator to give us concurrency. Instead we use `FuturesUnordered` and manually add/poll items out of it.
Reviewed By: RajivTS
Differential Revision: D72176110
fbshipit-source-id: 8daca5eae8c35cef347cd71e07896fdc20352edc
0 commit comments