diff --git a/serverless.yml b/serverless.yml index 98ca66d..fd198ef 100644 --- a/serverless.yml +++ b/serverless.yml @@ -46,7 +46,8 @@ functions: handler: wsgi_handler.handler url: true timeout: 15 - memorySize: 150 + memorySize: 500 + architecture: arm64 layers: - Ref: PythonRequirementsLambdaLayer diff --git a/twitfix.py b/twitfix.py index 5c3cd43..0c14cb9 100644 --- a/twitfix.py +++ b/twitfix.py @@ -10,7 +10,6 @@ import msgs import twExtract as twExtract from configHandler import config from cache import addVnfToLinkCache,getVnfFromLinkCache -from yt_dlp.utils import ExtractorError import vxlogging as log from utils import getTweetIdFromUrl, pathregex from vxApi import getApiResponse