diff options
author | Lars Wirzenius <liw@xander> | 2010-12-17 23:42:06 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@xander> | 2010-12-17 23:42:06 +0200 |
commit | e33cfe10e7cfb7b1f0ff5975e3c1e2428357219f (patch) | |
tree | 98bd5ed17b4fe3569f0035f1bdfda2fbe7bd654e | |
parent | 4abe4447a03b1ecaba3bd808a1c477ef0647578f (diff) | |
download | obnam-e33cfe10e7cfb7b1f0ff5975e3c1e2428357219f.tar.gz |
Add --meliae-dump-after option.
-rw-r--r-- | obnamlib/app.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/obnamlib/app.py b/obnamlib/app.py index d420c2e1..fd1da003 100644 --- a/obnamlib/app.py +++ b/obnamlib/app.py @@ -63,6 +63,12 @@ class App(object): '(default: %default)') self.config['lru-size'] = '%s' % obnamlib.DEFAULT_LRU_SIZE + self.config.new_bytesize(['meliae-dump-after'], + 'make a meliae memory profiling dump ' + 'after this many bytes have been backed up, ' + '0 means no dump (default: %default)') + self.config['meliae-dump-after'] = str(0) + self.pm = obnamlib.PluginManager() self.pm.locations = [self.plugins_dir()] self.pm.plugin_arguments = (self,) |