Skip to content

Commit

Permalink
license: Reduced evaluation period to 30 days
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Boquard <michael@redpanda.com>
  • Loading branch information
michael-redpanda committed Nov 18, 2024
1 parent ef17c12 commit 5cb871e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/v/features/feature_table.cc
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ namespace {

security::license
make_builtin_trial_license(security::license::clock::time_point start_time) {
auto expiry_time = start_time + std::chrono::days{45};
auto expiry_time = start_time + std::chrono::days{30};
auto expiry = std::chrono::duration_cast<std::chrono::seconds>(
expiry_time.time_since_epoch());

Expand Down
2 changes: 1 addition & 1 deletion tests/rptest/tests/rpk_cluster_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def test_upload_and_query_cluster_license_rpk(self):
"Skipping test, REDPANDA_SAMPLE_LICENSE env var not found")
return

evaluation_period = 3888000 # 45 days
evaluation_period = 2592000 # 30 days
wait_until(
lambda: self._get_license_expiry() <= evaluation_period,
timeout_sec=10,
Expand Down

0 comments on commit 5cb871e

Please sign in to comment.