Increase maximum database size
We previously has the maximum database size as 25MB. This was set in the days
before repos had as many packages as they do now, and before we started
distributing files databases. Increase this limit to 128MB.
Signed-off-by: Allan McRae <allan@archlinux.org>
(cherry picked from commit 2856a7dea3
)
This commit is contained in:
parent
0d0a4bd680
commit
7faa795268
1 changed files with 2 additions and 2 deletions
|
@ -225,8 +225,8 @@ int SYMEXPORT alpm_db_update(int force, alpm_db_t *db)
|
||||||
|
|
||||||
memset(&payload, 0, sizeof(struct dload_payload));
|
memset(&payload, 0, sizeof(struct dload_payload));
|
||||||
|
|
||||||
/* set hard upper limit of 25MiB */
|
/* set hard upper limit of 128MiB */
|
||||||
payload.max_size = 25 * 1024 * 1024;
|
payload.max_size = 128 * 1024 * 1024;
|
||||||
|
|
||||||
/* print server + filename into a buffer */
|
/* print server + filename into a buffer */
|
||||||
len = strlen(server) + strlen(db->treename) + strlen(dbext) + 2;
|
len = strlen(server) + strlen(db->treename) + strlen(dbext) + 2;
|
||||||
|
|
Loading…
Add table
Reference in a new issue