|
@@ -38,10 +38,10 @@ func AddLicenseHooks() {
|
|
Hook: ValidateLicense,
|
|
Hook: ValidateLicense,
|
|
Interval: time.Hour,
|
|
Interval: time.Hour,
|
|
}
|
|
}
|
|
- logic.HookManagerCh <- models.HookDetails{
|
|
|
|
- Hook: ClearLicenseCache,
|
|
|
|
- Interval: time.Hour,
|
|
|
|
- }
|
|
|
|
|
|
+ // logic.HookManagerCh <- models.HookDetails{
|
|
|
|
+ // Hook: ClearLicenseCache,
|
|
|
|
+ // Interval: time.Hour,
|
|
|
|
+ // }
|
|
}
|
|
}
|
|
|
|
|
|
// ValidateLicense - the initial and periodic license check for netmaker server
|
|
// ValidateLicense - the initial and periodic license check for netmaker server
|