fix code quality issues
This commit is contained in:
@@ -71,7 +71,6 @@ export class AccountMoveService {
|
|||||||
*/
|
*/
|
||||||
@bindThis
|
@bindThis
|
||||||
public async moveFromLocal(src: MiLocalUser, dst: MiLocalUser | MiRemoteUser): Promise<unknown> {
|
public async moveFromLocal(src: MiLocalUser, dst: MiLocalUser | MiRemoteUser): Promise<unknown> {
|
||||||
const srcUri = this.userEntityService.getUserUri(src);
|
|
||||||
const dstUri = this.userEntityService.getUserUri(dst);
|
const dstUri = this.userEntityService.getUserUri(dst);
|
||||||
|
|
||||||
// add movedToUri to indicate that the user has moved
|
// add movedToUri to indicate that the user has moved
|
||||||
|
@@ -195,7 +195,7 @@ export class RedisSingleCache<T> {
|
|||||||
export class MemoryKVCache<T> {
|
export class MemoryKVCache<T> {
|
||||||
/**
|
/**
|
||||||
* データを持つマップ
|
* データを持つマップ
|
||||||
* @deprecated これを直接操作するべきではない
|
* これを直接操作するべきではない
|
||||||
*/
|
*/
|
||||||
public cache: Map<string, { date: number; value: T; }>;
|
public cache: Map<string, { date: number; value: T; }>;
|
||||||
private lifetime: number;
|
private lifetime: number;
|
||||||
@@ -213,7 +213,7 @@ export class MemoryKVCache<T> {
|
|||||||
@bindThis
|
@bindThis
|
||||||
/**
|
/**
|
||||||
* Mapにキャッシュをセットします
|
* Mapにキャッシュをセットします
|
||||||
* @deprecated これを直接呼び出すべきではない。InternalEventなどで変更を全てのプロセス/マシンに通知するべき
|
* これを直接呼び出すべきではない。InternalEventなどで変更を全てのプロセス/マシンに通知するべき
|
||||||
*/
|
*/
|
||||||
public set(key: string, value: T): void {
|
public set(key: string, value: T): void {
|
||||||
this.cache.set(key, {
|
this.cache.set(key, {
|
||||||
|
Reference in New Issue
Block a user