summaryrefslogtreecommitdiff
path: root/rdiff-backup/src/globals.py
diff options
context:
space:
mode:
Diffstat (limited to 'rdiff-backup/src/globals.py')
-rw-r--r--rdiff-backup/src/globals.py5
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