Skip to content

Commit

Permalink
feat: set MAX_NUM_LICENSES to an much higher number
Browse files Browse the repository at this point in the history
ENT-8396 | Set a much higher maximum number of allowed licenses
per plan, since we did all this nice scaling/async work.
  • Loading branch information
iloveagent57 committed Feb 8, 2024
1 parent 0dd1b2d commit 41722d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion license_manager/apps/subscriptions/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 41722d8

Please sign in to comment.