mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-24 15:16:41 +00:00
check_memory: don't accept shares for download/download-GET test, since that hits bug #97
This commit is contained in:
parent
f6acf5a0c3
commit
2886c5aeae
@ -171,10 +171,14 @@ this file are ignored.
|
||||
f = open(os.path.join(clientdir, "debug_no_storage"), "w")
|
||||
f.write("no_storage\n")
|
||||
f.close()
|
||||
if self.mode in ("upload-self", "download", "download-GET"):
|
||||
if self.mode in ("upload-self"):
|
||||
f = open(os.path.join(clientdir, "push_to_ourselves"), "w")
|
||||
f.write("push_to_ourselves\n")
|
||||
f.close()
|
||||
else:
|
||||
f = open(os.path.join(clientdir, "sizelimit"), "w")
|
||||
f.write("0\n")
|
||||
f.close()
|
||||
self.keepalive_file = os.path.join(clientdir,
|
||||
"suicide_prevention_hotline")
|
||||
# now start updating the mtime.
|
||||
|
Loading…
Reference in New Issue
Block a user