diff options
| author | Daniel Moody <daniel.moody@mongodb.com> | 2022-11-04 15:50:50 +0000 |
|---|---|---|
| committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-11-04 16:20:01 +0000 |
| commit | eb5b907ca475c3c470d7d9da3dcd78ffdffc9c96 (patch) | |
| tree | 8d924ce55c0106859d81d1e35f8277648a383d44 /site_scons | |
| parent | 05427d82a4846dd07e19d9ea772c48111e1d84a5 (diff) | |
| download | mongo-eb5b907ca475c3c470d7d9da3dcd78ffdffc9c96.tar.gz | |
SERVER-70712 improve scons splunk upload performance
Diffstat (limited to 'site_scons')
| -rw-r--r-- | site_scons/site_tools/validate_cache_dir.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/site_scons/site_tools/validate_cache_dir.py b/site_scons/site_tools/validate_cache_dir.py index 3bd07462ade..4c6531f306b 100644 --- a/site_scons/site_tools/validate_cache_dir.py +++ b/site_scons/site_tools/validate_cache_dir.py @@ -192,7 +192,7 @@ class CacheDirValidate(SCons.CacheDir.CacheDir): def CacheDebugJson(self, json_data, target, cachefile): if SCons.CacheDir.cache_debug and SCons.CacheDir.cache_debug != '-' and self.json_log is None: - self.json_log = open(SCons.CacheDir.cache_debug + '.json', 'w') + self.json_log = open(SCons.CacheDir.cache_debug + '.json', 'a') if self.json_log is not None: cksum_cachefile = str(pathlib.Path(cachefile).parent) |
