diff options
author | Saša Živkov <sasa.zivkov@sap.com> | 2016-03-22 17:23:53 +0100 |
---|---|---|
committer | Saša Živkov <sasa.zivkov@sap.com> | 2016-03-22 17:26:46 +0100 |
commit | b72fc2b4942d45f4e8317821be0c3eb470b1688f (patch) | |
tree | 81e49fe8be8b8d26f0fdb5073af47df2404a56ce /CONTRIBUTING.md | |
parent | 8efdaaf99119ca86f91f1acd9b62a5e305155772 (diff) | |
download | jgit-b72fc2b4942d45f4e8317821be0c3eb470b1688f.tar.gz jgit-b72fc2b4942d45f4e8317821be0c3eb470b1688f.zip |
Make the FileLfsRepository thread safe
The FileLfsRepository.out member could have been accessed from multiple
threads which would corrupt the content.
Don't store the AtomicObjectOutputStream in the FileLfsRepository.out but
move it to the ObjectUploadListener which is instantiated per-request.
Add a parallel upload test.
Change-Id: I62298630e99c46b500d376843ffcde934436215b
Signed-off-by: Saša Živkov <sasa.zivkov@sap.com>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'CONTRIBUTING.md')
0 files changed, 0 insertions, 0 deletions