summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2016-10-17 22:27:31 +0300
committerLars Wirzenius <liw@liw.fi>2016-10-17 22:27:31 +0300
commit6e06bb8a1a10517832f645d437ffb49257169147 (patch)
tree5794514fe58b7708f928cfe3d4381e8dc42fd350
parent3cd45b826d2ae699f45b57113b4c4e5dd401935d (diff)
downloadobnam-6e06bb8a1a10517832f645d437ffb49257169147.tar.gz
Disable flushing after every directory for GA
If there's a lot of tiny directories, flushing after every one results in excessive numbers of repository objects. Oh my god, it's full of tiny files.
-rw-r--r--obnamlib/fmt_ga/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/obnamlib/fmt_ga/client.py b/obnamlib/fmt_ga/client.py
index f60afb59..0719a10f 100644
--- a/obnamlib/fmt_ga/client.py
+++ b/obnamlib/fmt_ga/client.py
@@ -75,7 +75,7 @@ class GAClient(object):
return self._dirname
def flush(self):
- self._save_file_metadata()
+ pass
def flush_ro(self):
for gen in self._generations: