enhance(reversi): tweak MATCHING_TIMEOUT_MS

This commit is contained in:
syuilo 2024-01-24 13:32:08 +09:00
parent 608e7c1546
commit b68446b289
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ import { Serialized } from '@/types.js';
import { ReversiGameEntityService } from './entities/ReversiGameEntityService.js'; import { ReversiGameEntityService } from './entities/ReversiGameEntityService.js';
import type { OnApplicationShutdown, OnModuleInit } from '@nestjs/common'; import type { OnApplicationShutdown, OnModuleInit } from '@nestjs/common';
const MATCHING_TIMEOUT_MS = 1000 * 10; // 10sec const MATCHING_TIMEOUT_MS = 1000 * 20; // 20sec
@Injectable() @Injectable()
export class ReversiService implements OnApplicationShutdown, OnModuleInit { export class ReversiService implements OnApplicationShutdown, OnModuleInit {