Fossil SCM

Reduce the default maximum download limit from 20M to 5M since the smaller size seems to work much better with the latest clone refinements.

drh 2010-12-20 22:00 trunk
Commit d16ccde5104564e2924b4c0eee2b055368eba2a5
1 file changed +1 -1
+1 -1
--- src/xfer.c
+++ src/xfer.c
@@ -738,11 +738,11 @@
738738
blobarray_zero(xfer.aToken, count(xfer.aToken));
739739
cgi_set_content_type(g.zContentType);
740740
blob_zero(&xfer.err);
741741
xfer.pIn = &g.cgiIn;
742742
xfer.pOut = cgi_output_blob();
743
- xfer.mxSend = db_get_int("max-download", 20000000);
743
+ xfer.mxSend = db_get_int("max-download", 5000000);
744744
g.xferPanic = 1;
745745
746746
db_begin_transaction();
747747
db_multi_exec(
748748
"CREATE TEMP TABLE onremote(rid INTEGER PRIMARY KEY);"
749749
--- src/xfer.c
+++ src/xfer.c
@@ -738,11 +738,11 @@
738 blobarray_zero(xfer.aToken, count(xfer.aToken));
739 cgi_set_content_type(g.zContentType);
740 blob_zero(&xfer.err);
741 xfer.pIn = &g.cgiIn;
742 xfer.pOut = cgi_output_blob();
743 xfer.mxSend = db_get_int("max-download", 20000000);
744 g.xferPanic = 1;
745
746 db_begin_transaction();
747 db_multi_exec(
748 "CREATE TEMP TABLE onremote(rid INTEGER PRIMARY KEY);"
749
--- src/xfer.c
+++ src/xfer.c
@@ -738,11 +738,11 @@
738 blobarray_zero(xfer.aToken, count(xfer.aToken));
739 cgi_set_content_type(g.zContentType);
740 blob_zero(&xfer.err);
741 xfer.pIn = &g.cgiIn;
742 xfer.pOut = cgi_output_blob();
743 xfer.mxSend = db_get_int("max-download", 5000000);
744 g.xferPanic = 1;
745
746 db_begin_transaction();
747 db_multi_exec(
748 "CREATE TEMP TABLE onremote(rid INTEGER PRIMARY KEY);"
749

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button