diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2017-12-25 10:26:29 +0100 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2017-12-25 10:26:29 +0100 |
commit | db16876dda53424725041eec26be1ca7a45a17af (patch) | |
tree | 4ca8a01fa58b5fb927c45270d0ebd140d8e6eccf /contrib | |
parent | d4951d1fe8be0941df9cafbfe57c21d26f66e8ee (diff) | |
download | crocoite-db16876dda53424725041eec26be1ca7a45a17af.tar.gz crocoite-db16876dda53424725041eec26be1ca7a45a17af.tar.bz2 crocoite-db16876dda53424725041eec26be1ca7a45a17af.zip |
Increase default body size
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/celerycrocoite.py | 8 |
1 files changed, 4 insertions, 4 deletions
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 } |