Skip to content

Commit

Permalink
Change the LM check period back (vesoft-inc#2786)
Browse files Browse the repository at this point in the history
Change the check period back

Co-authored-by: Sophie <84560950+Sophie-Xie@users.noreply.github.com>
  • Loading branch information
Aiee and Sophie-Xie committed May 22, 2023
1 parent 558eb01 commit e975ec0
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/common/encryption/LicenseManagerConnector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,9 @@ const char kAesKeyPrefix[] = "OxUdhyLRcUe3EEX5YT@License";
const char kServiceName[] = "Database";

// 1 min
// static const int32_t kCheckPeriodInSec = 1 * 60;
// TODO(Aiee) for test only
// 10s
static const int32_t kCheckPeriodInSec = 10;
static const int32_t kCheckPeriodInSec = 1 * 60;
// 7 days
// static const int32_t kRetryTimeoutInSec = 7 * 24 * 60 * 60;
// TODO(Aiee) for test only
// 10 mins
static const int32_t kRetryTimeoutInSec = 10 * 60;
static const int32_t kRetryTimeoutInSec = 7 * 24 * 60 * 60;

// Http interface
const char kGetLmIdApi[] = "/api/v1/lmid";
Expand Down

0 comments on commit e975ec0

Please sign in to comment.