refactor: prefix Mi for all entities (#11719)
* wip
* wip
* wip
* wip
* Update RepositoryModule.ts
* wip
* wip
* wip
* Revert "wip"
This reverts commit c1c13b37d2.
			
			
This commit is contained in:
		| @@ -13,7 +13,7 @@ import { ApRequestService } from '@/core/activitypub/ApRequestService.js'; | ||||
| import { FederatedInstanceService } from '@/core/FederatedInstanceService.js'; | ||||
| import { FetchInstanceMetadataService } from '@/core/FetchInstanceMetadataService.js'; | ||||
| import { MemorySingleCache } from '@/misc/cache.js'; | ||||
| import type { Instance } from '@/models/entities/Instance.js'; | ||||
| import type { MiInstance } from '@/models/entities/Instance.js'; | ||||
| import InstanceChart from '@/core/chart/charts/instance.js'; | ||||
| import ApRequestChart from '@/core/chart/charts/ap-request.js'; | ||||
| import FederationChart from '@/core/chart/charts/federation.js'; | ||||
| @@ -26,7 +26,7 @@ import type { DeliverJobData } from '../types.js'; | ||||
| @Injectable() | ||||
| export class DeliverProcessorService { | ||||
| 	private logger: Logger; | ||||
| 	private suspendedHostsCache: MemorySingleCache<Instance[]>; | ||||
| 	private suspendedHostsCache: MemorySingleCache<MiInstance[]>; | ||||
| 	private latest: string | null; | ||||
|  | ||||
| 	constructor( | ||||
| @@ -44,7 +44,7 @@ export class DeliverProcessorService { | ||||
| 		private queueLoggerService: QueueLoggerService, | ||||
| 	) { | ||||
| 		this.logger = this.queueLoggerService.logger.createSubLogger('deliver'); | ||||
| 		this.suspendedHostsCache = new MemorySingleCache<Instance[]>(1000 * 60 * 60); | ||||
| 		this.suspendedHostsCache = new MemorySingleCache<MiInstance[]>(1000 * 60 * 60); | ||||
| 	} | ||||
|  | ||||
| 	@bindThis | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 syuilo
					syuilo