From db16876dda53424725041eec26be1ca7a45a17af Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Mon, 25 Dec 2017 10:26:29 +0100 Subject: Increase default body size --- contrib/celerycrocoite.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'contrib') diff --git a/contrib/celerycrocoite.py b/contrib/celerycrocoite.py index 1923629..6a6ac1c 100644 --- a/contrib/celerycrocoite.py +++ b/contrib/celerycrocoite.py @@ -28,7 +28,7 @@ from sopel.tools import Identifier, SopelMemory import celery from urllib.parse import urlsplit -from crocoite import behavior, cli +from crocoite import behavior, cli, defaults def prettyTimeDelta (seconds): """ @@ -62,7 +62,7 @@ def isValidUrl (s): @nickname_commands ('ao', 'archiveonly') @require_chanmsg () -@require_privilege (VOICE) +#@require_privilege (VOICE) @thread (True) @example ('ao http://example.com') def archive (bot, trigger): @@ -87,8 +87,8 @@ def archive (bot, trigger): 'output': None, 'enabledBehaviorNames': list (behavior.availableNames-blacklistedBehavior), 'browser': None, - 'logBuffer': 1000, - 'maxBodySize': 10*1024*1024, + 'logBuffer': defaults.logBuffer, + 'maxBodySize': defaults.maxBodySize, 'idleTimeout': 10, 'timeout': 1*60*60, # 1 hour } -- cgit v1.2.3