| 1 | import { Module } from '@nestjs/common'; |
| 2 | |
| 3 | import { RepositoryMaterializerService } |
| 4 | import { WalStoreService } |
| 5 | import { S3Service } |
| 6 | |
| 7 | // One materializer for the whole app: its in-flight map only prevents two replays of the same cache, and only lets `settle` wait for them, when every caller shares it. |
| 8 | @Module({ |
| 9 | providers: [RepositoryMaterializerService, |
| 10 | exports: [RepositoryMaterializerService], |
| 11 | }) |
| 12 | export class MaterializerModule |