Skip to content

Commit 46fc3c9

Browse files
committed
dont run aggregation automatically
1 parent 5dcbeaa commit 46fc3c9

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

apps/aggregator/src/aggregator.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import cacheManager from '@type-cacheable/core';
66
import { useAdapter } from '@type-cacheable/lru-cache-adapter';
77

88
import { AggregatorModule } from './aggregator.module';
9-
import { AggregatorService } from './aggregator.service';
109

1110
export default class Aggregator {
1211
private readonly logger = new Logger(Aggregator.name);
@@ -28,8 +27,7 @@ export default class Aggregator {
2827

2928
this.logger.log('Aggregator Microservice is listening...');
3029

31-
// TODO: handle the very 1st aggregation
3230
// Run initial aggregation
33-
await app.get(AggregatorService).scheduleAggregation();
31+
// await app.get(AggregatorService).scheduleAggregation();
3432
}
3533
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dao-stats-api",
3-
"version": "0.0.3",
3+
"version": "0.0.4",
44
"description": "DaoStats API backend",
55
"author": "",
66
"private": true,

0 commit comments

Comments
 (0)