enhance(reversi): tweak MATCHING_TIMEOUT_MS
This commit is contained in:
parent
608e7c1546
commit
b68446b289
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue