Skip to content

Commit

Permalink
A few other cleanup items
Browse files Browse the repository at this point in the history
  • Loading branch information
jamessimone committed Oct 31, 2024
1 parent a018d1d commit 6e52864
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion rollup/core/classes/Rollup.cls
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ global without sharing virtual class Rollup implements RollupLogger.ToStringObje
@AuraEnabled
global static String getBatchRollupStatus(String jobId) {
String jobStatus = [SELECT Status FROM AsyncApexJob WHERE Id = :jobId LIMIT 1]?.Status;
if ([SELECT COUNT() FROM RollupState__c WHERE RelatedJobId__c = :jobId] > 0) {
if ([SELECT COUNT() FROM RollupState__c WHERE RelatedJobId__c = :jobId LIMIT 1] > 0) {
jobStatus = 'Processing';
}
return jobStatus;
Expand Down
1 change: 0 additions & 1 deletion rollup/core/classes/RollupFullRecalcProcessor.cls
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ global abstract without sharing class RollupFullRecalcProcessor extends RollupAs
conductor.finalizer.addCaboose(caboose);
}
if (this.isBatch()) {
// conductor.jobId = this.jobId;
conductor.startAsyncWork();
} else {
this.finalizer.addCaboose(conductor);
Expand Down

0 comments on commit 6e52864

Please sign in to comment.