From 41722d818c8323a4dfc7544b0eed0e800e36c329 Mon Sep 17 00:00:00 2001 From: Alex Dusenbery Date: Thu, 8 Feb 2024 12:14:00 -0500 Subject: [PATCH] feat: set MAX_NUM_LICENSES to an much higher number ENT-8396 | Set a much higher maximum number of allowed licenses per plan, since we did all this nice scaling/async work. --- license_manager/apps/subscriptions/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/license_manager/apps/subscriptions/constants.py b/license_manager/apps/subscriptions/constants.py index 1621c2cf..35eda682 100644 --- a/license_manager/apps/subscriptions/constants.py +++ b/license_manager/apps/subscriptions/constants.py @@ -96,7 +96,7 @@ class SegmentEvents: # Subscription validation constants MIN_NUM_LICENSES = 0 -MAX_NUM_LICENSES = 11000 +MAX_NUM_LICENSES = 1000000 # Set a reasonably high max to prevent us from crashing. # Number of license uuids enrollments are expired for in each batch LICENSE_EXPIRATION_BATCH_SIZE = 100