Skip to content

Commit

Permalink
Merge pull request #2004 from akto-api-security/feature/enable_telemetry
Browse files Browse the repository at this point in the history
Feature/enable telemetry
  • Loading branch information
Ark2307 authored Jan 21, 2025
2 parents ba6c63f + 2b5ccaa commit d7cfa3d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2576,8 +2576,10 @@ public static Organization fetchAndSaveFeatureWiseAllowed(Organization organizat
planType = OrganizationUtils.fetchplanType(metaData);
trialMsg = OrganizationUtils.fetchtrialMsg(metaData);
boolean expired = OrganizationUtils.fetchExpired(metaData);
boolean telemetryEnabled = OrganizationUtils.fetchTelemetryEnabled(metaData);
// setTelemetrySettings(organization, telemetryEnabled);
if (DashboardMode.isOnPremDeployment()) {
boolean telemetryEnabled = OrganizationUtils.fetchTelemetryEnabled(metaData);
setTelemetrySettings(organization, telemetryEnabled);
}
boolean testTelemetryEnabled = OrganizationUtils.fetchTestTelemetryEnabled(metaData);
organization.setTestTelemetryEnabled(testTelemetryEnabled);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ const transform = {
let finalDataSubCategories = [], promises = [], categories = [];
let testSourceConfigs = []
const limit = 50;
for(var i = 0 ; i < 20; i++){
for(var i = 0 ; i < 25; i++){
promises.push(
api.fetchAllSubCategories(fetchActive, type, i * limit, limit)
)
Expand Down

0 comments on commit d7cfa3d

Please sign in to comment.