From db4efceedd5e02b5974fa0c2b7f24261fefc6efd Mon Sep 17 00:00:00 2001 From: Michaela Wheeler Date: Sun, 19 Dec 2021 15:24:35 +1100 Subject: [PATCH] full rate! --- sonde-api-to-iot-core/lambda_function.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sonde-api-to-iot-core/lambda_function.py b/sonde-api-to-iot-core/lambda_function.py index f828257..da7bcc3 100644 --- a/sonde-api-to-iot-core/lambda_function.py +++ b/sonde-api-to-iot-core/lambda_function.py @@ -331,10 +331,10 @@ def upload(event, context): ) to_sns.append(payload) - if to_sns: - last = to_sns.pop() - to_sns = to_sns[::3] - to_sns.append(last) + # if to_sns: + # last = to_sns.pop() + # to_sns = to_sns[::3] + # to_sns.append(last) post(to_sns) return errors def lambda_handler(event, context):