Commit 2856a7de authored by Allan McRae's avatar Allan McRae
Browse files

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's avatarAllan McRae <allan@archlinux.org>
parent 2e32d51a
......@@ -223,8 +223,8 @@ int SYMEXPORT alpm_db_update(int force, alpm_db_t *db)
size_t len;
int sig_ret = 0;
/* set hard upper limit of 25MiB */
payload.max_size = 25 * 1024 * 1024;
/* set hard upper limit of 128MiB */
payload.max_size = 128 * 1024 * 1024;
/* print server + filename into a buffer */
len = strlen(server) + strlen(db->treename) + strlen(dbext) + 2;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment