config: reduce zero-copy space reserve default

This commit is contained in:
2026-07-24 15:26:33 +00:00
parent 748ca49837
commit a73bcf870f
13 changed files with 15 additions and 14 deletions
+1
View File
@@ -34,6 +34,7 @@ class ConfigTests(unittest.TestCase):
root / "qb/a/b",
)
self.assertEqual(config.jobs.stall_after, 30 * 60)
self.assertEqual(config.jobs.free_space_reserve_bytes, 32 * 1024 * 1024)
self.assertEqual(
config.syncthing.advertised_addresses, ("dynamic",)
)
+1 -1
View File
@@ -74,7 +74,7 @@ class ClientJobHappyPathTests(unittest.TestCase):
self._run_transfer(
Path(directory),
job_pb2.JOB_OPERATION_ARCHIVE,
source_stage_free_bytes=1024 * 1024 * 1024 + 1024,
source_stage_free_bytes=32 * 1024 * 1024 + 1024,
content=b"x" * 4096,
)