Skip to content

Commit

Permalink
Merge pull request #967 from 18F/staging
Browse files Browse the repository at this point in the history
[Tech Debt] Don't run the log action for API jobs -- Production
  • Loading branch information
levinmr authored Feb 24, 2025
2 parents 86d08ec + e79dd79 commit e5ad68a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/app_config.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,11 @@ class AppConfig {
}

get shouldLogAnalyticsData() {
return !(this.shouldPublishToDisk || this.shouldPublishToS3);
return !(
this.shouldPublishToDisk ||
this.shouldPublishToS3 ||
this.shouldWriteToDatabase
);
}

get shouldWriteToDatabase() {
Expand Down

0 comments on commit e5ad68a

Please sign in to comment.