diff options
author | ben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2002-05-15 23:17:24 +0000 |
---|---|---|
committer | ben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2002-05-15 23:17:24 +0000 |
commit | c3beb4a2425f1ca142f1c773ca8205399b48c993 (patch) | |
tree | 11631cdfa3528e8c19b4a43a3eaf2d25c7716d1d /rdiff-backup/src/globals.py | |
parent | 036ee5fc7e9a99ceb9e5f8661b76c092bb052e53 (diff) | |
download | rdiff-backup-c3beb4a2425f1ca142f1c773ca8205399b48c993.tar.gz |
Enabled ssh compression by default, increased conn_bufsize.
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@88 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/src/globals.py')
-rw-r--r-- | rdiff-backup/src/globals.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/rdiff-backup/src/globals.py b/rdiff-backup/src/globals.py index 58c43d4..508d0ed 100644 --- a/rdiff-backup/src/globals.py +++ b/rdiff-backup/src/globals.py @@ -20,7 +20,7 @@ class Globals: # This is used by the BufferedRead class to determine how many # bytes to request from the underlying file per read(). Larger # values may save on connection overhead and latency. - conn_bufsize = 4096 + conn_bufsize = 98304 # True if script is running as a server server = None @@ -139,6 +139,9 @@ class Globals: "jpg|gif|png|jp2|mp3|ogg|avi|wmv|mpeg|mpg|rm|mov)$" no_compression_regexp = None + # Determines whether or not ssh will be run with the -C switch + ssh_compression = 1 + # On the reader and writer connections, the following will be # replaced by the source and mirror Select objects respectively. select_source, select_mirror = None, None |