Merge pull request #1959 from tangdou1/patch-1

Change default value to 10MB
This commit is contained in:
ZeroNet 2019-07-01 17:45:37 +02:00 committed by GitHub
commit eae0d1b2a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -778,7 +778,7 @@ class SitePlugin(object):
class ConfigPlugin(object):
def createArguments(self):
group = self.parser.add_argument_group("Bigfile plugin")
group.add_argument('--autodownload_bigfile_size_limit', help='Also download bigfiles smaller than this limit if help distribute option is checked', default=1, metavar="MB", type=int)
group.add_argument('--autodownload_bigfile_size_limit', help='Also download bigfiles smaller than this limit if help distribute option is checked', default=10, metavar="MB", type=int)
group.add_argument('--bigfile_size_limit', help='Maximum size of downloaded big files', default=False, metavar="MB", type=int)
return super(ConfigPlugin, self).createArguments()