mirror of
https://github.com/aljazceru/IngestRSS.git
synced 2025-12-17 22:14:20 +01:00
Switch to Redis queue
This commit is contained in:
@@ -37,7 +37,7 @@ def main():
|
||||
logging.info("Finished Deploying Lambda")
|
||||
|
||||
deploy_sqs_filler()
|
||||
logging.info("Finished Deploying SQS Filler Lambda")
|
||||
logging.info("Finished Deploying Queue Filler Lambda")
|
||||
|
||||
# Update Lambda environment variables
|
||||
update_env_vars(os.getenv("LAMBDA_FUNCTION_NAME"))
|
||||
@@ -48,7 +48,7 @@ def main():
|
||||
if os.path.exists(rss_feeds_file):
|
||||
with open(rss_feeds_file, 'r') as f:
|
||||
rss_feeds = json.load(f)
|
||||
upload_rss_feeds(rss_feeds, os.getenv('DYNAMODB_TABLE_NAME'))
|
||||
upload_rss_feeds(rss_feeds, rss_feeds_file)
|
||||
else:
|
||||
print(f"WARNING: {rss_feeds_file} not found. Skipping RSS feed upload.")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user