From 696a7b853bdc6b93ed4458dbf4d9d2bbd81c18b1 Mon Sep 17 00:00:00 2001 From: "russell@unturf.com" Date: Wed, 18 Feb 2026 19:30:46 -0500 Subject: [PATCH] =?UTF-8?q?uncap=20backfill=20concurrency=20=E2=80=94=20us?= =?UTF-8?q?e=20key's=20actual=20limit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- make_post_sell/lib/karaoke.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make_post_sell/lib/karaoke.py b/make_post_sell/lib/karaoke.py index 9c07062..d5eafe2 100644 --- a/make_post_sell/lib/karaoke.py +++ b/make_post_sell/lib/karaoke.py @@ -234,7 +234,7 @@ def backfill_karaoke_async(shop_id, session_factory, app_settings): # Query account concurrency from unsandbox API — abort if keys are bad try: key_info = validate_keys(pk, sk) - concurrency = min(1, max(1, int(key_info.get("concurrency", 1)))) + concurrency = max(1, int(key_info.get("concurrency", 1))) except Exception as e: log.error("Backfill aborted — unsandbox keys invalid or expired for shop %s: %s", shop.name, e) return