mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
4d6f31837e
Previously we sent the entire list of files to the fallback repo in a single ssh write/flush. If the size of this write exceeded the tcp buffer on the receiving end, the call would hang until the buffer had room. The problem is that the receiving end (the server) is hung trying to send data back to the client. Therefore it deadlocked. The fix is to send and receive requests one at a time. We always have the next request in flight while receiving so we shouldn't be waiting on requests too often. |
||
---|---|---|
.. | ||
__init__.py | ||
cacheclient.py | ||
debugcommands.py | ||
fileserverclient.py | ||
remotefilectx.py | ||
remotefilelog.py | ||
remotefilelogserver.py | ||
shallowbundle.py | ||
shallowrepo.py | ||
shallowstore.py |