@memberjunction/server 2.39.0 → 2.40.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -112,10 +112,15 @@ export class LearningCycleScheduler extends BaseSingleton<LearningCycleScheduler
112
112
 
113
113
  this.lastRunTime = startTime;
114
114
 
115
- if (result.success) {
115
+ if (result.learningCycleSkipped) {
116
+ // skipped the learning cycle - no messages to process, already logged..
117
+ return true;
118
+ }
119
+ else if (result.success) {
116
120
  LogStatus(`Learning cycle completed successfully in ${elapsedMs}ms`);
117
121
  return true;
118
- } else {
122
+ }
123
+ else {
119
124
  LogError(`Learning cycle failed after ${elapsedMs}ms: ${result.error}`);
120
125
  return false;
121
126
  }