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.
Commit
d16ccde5104564e2924b4c0eee2b055368eba2a5
Parent
d7dfb5ae42ec7ac…
1 file changed
+1
-1
+1
-1
| --- src/xfer.c | ||
| +++ src/xfer.c | ||
| @@ -738,11 +738,11 @@ | ||
| 738 | 738 | blobarray_zero(xfer.aToken, count(xfer.aToken)); |
| 739 | 739 | cgi_set_content_type(g.zContentType); |
| 740 | 740 | blob_zero(&xfer.err); |
| 741 | 741 | xfer.pIn = &g.cgiIn; |
| 742 | 742 | xfer.pOut = cgi_output_blob(); |
| 743 | - xfer.mxSend = db_get_int("max-download", 20000000); | |
| 743 | + xfer.mxSend = db_get_int("max-download", 5000000); | |
| 744 | 744 | g.xferPanic = 1; |
| 745 | 745 | |
| 746 | 746 | db_begin_transaction(); |
| 747 | 747 | db_multi_exec( |
| 748 | 748 | "CREATE TEMP TABLE onremote(rid INTEGER PRIMARY KEY);" |
| 749 | 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", 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 |