From 1a0dca6034be1c6f847ae33e12ef13a6b6073535 Mon Sep 17 00:00:00 2001 From: Dylan Date: Wed, 30 Oct 2024 19:30:06 +0000 Subject: [PATCH 1/2] Remove yt-dlp import --- twitfix.py | 1 - 1 file changed, 1 deletion(-) 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 From a4bb649c88dcfd0616ae1f98d357afbd7b704dd0 Mon Sep 17 00:00:00 2001 From: Dylan Date: Mon, 2 Dec 2024 21:59:25 +0000 Subject: [PATCH 2/2] Update function params --- serverless.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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