diff --git a/lambda/lambda_function.py b/lambda/lambda_function.py index 422034b..c8f5e95 100644 --- a/lambda/lambda_function.py +++ b/lambda/lambda_function.py @@ -8,7 +8,7 @@ SUPABASE_KEY = os.environ.get("SUPABASE_KEY") supabase: Client = create_client(SUPABASE_URL, SUPABASE_KEY) -PAST_RECORDS_DURATION = 13 # in minutes TODO: change such that we can sample >= 25 past records (e.g. sampling interval * 25) +PAST_RECORDS_DURATION = 3 # in minutes TODO: change such that we can sample >= 25 past records (e.g. sampling interval * 25) def lambda_handler(event, context): rowId = event.get('rowId')