diff --git a/projects/ucap-webmessenger-app/src/app/store/messenger/event/effects.ts b/projects/ucap-webmessenger-app/src/app/store/messenger/event/effects.ts index a73eb433..ef2a1917 100644 --- a/projects/ucap-webmessenger-app/src/app/store/messenger/event/effects.ts +++ b/projects/ucap-webmessenger-app/src/app/store/messenger/event/effects.ts @@ -138,7 +138,7 @@ export class Effects { map(action => { const roomInfo = action.roomInfo; let requestCount = - environment.productConfig.CommonSetting.eventRequestDefaultCount; + environment.productConfig.CommonSetting.eventRequestInitCount; // 여기까지 읽음 처리.. if (!!roomInfo.finalEventSeq && !!roomInfo.lastReadEventSeq) { @@ -146,11 +146,11 @@ export class Effects { // 기존 요청개수보다 요청할 갯수가 적을 경우 기본값. if ( - environment.productConfig.CommonSetting.eventRequestDefaultCount >= + environment.productConfig.CommonSetting.eventRequestInitCount >= requestCount ) { requestCount = - environment.productConfig.CommonSetting.eventRequestDefaultCount; + environment.productConfig.CommonSetting.eventRequestInitCount; } else { // 여기까지 읽음 처리를 위한 최대 요청 개수 제한. if ( diff --git a/projects/ucap-webmessenger-app/src/environments/environment.daesang.dev.ts b/projects/ucap-webmessenger-app/src/environments/environment.daesang.dev.ts index 945d7cac..0bfade37 100644 --- a/projects/ucap-webmessenger-app/src/environments/environment.daesang.dev.ts +++ b/projects/ucap-webmessenger-app/src/environments/environment.daesang.dev.ts @@ -75,6 +75,7 @@ export const environment: Environment = { maxChatRoomUser: 300, masstextLength: 800, + eventRequestInitCount: 15, eventRequestDefaultCount: 50, readHereShowMinimumEventCount: 10, diff --git a/projects/ucap-webmessenger-app/src/environments/environment.daesang.prod.ts b/projects/ucap-webmessenger-app/src/environments/environment.daesang.prod.ts index eaec84ba..914ff1a1 100644 --- a/projects/ucap-webmessenger-app/src/environments/environment.daesang.prod.ts +++ b/projects/ucap-webmessenger-app/src/environments/environment.daesang.prod.ts @@ -75,6 +75,7 @@ export const environment: Environment = { maxChatRoomUser: 300, masstextLength: 800, + eventRequestInitCount: 30, eventRequestDefaultCount: 50, readHereShowMinimumEventCount: 10, diff --git a/projects/ucap-webmessenger-app/src/environments/environment.dev.ts b/projects/ucap-webmessenger-app/src/environments/environment.dev.ts index cf1e7866..175c70ee 100644 --- a/projects/ucap-webmessenger-app/src/environments/environment.dev.ts +++ b/projects/ucap-webmessenger-app/src/environments/environment.dev.ts @@ -75,6 +75,7 @@ export const environment: Environment = { maxChatRoomUser: 300, masstextLength: 800, + eventRequestInitCount: 15, eventRequestDefaultCount: 50, readHereShowMinimumEventCount: 10, diff --git a/projects/ucap-webmessenger-app/src/environments/environment.prod.ts b/projects/ucap-webmessenger-app/src/environments/environment.prod.ts index e0dbafc0..0df1a924 100644 --- a/projects/ucap-webmessenger-app/src/environments/environment.prod.ts +++ b/projects/ucap-webmessenger-app/src/environments/environment.prod.ts @@ -75,6 +75,7 @@ export const environment: Environment = { maxChatRoomUser: 300, masstextLength: 800, + eventRequestInitCount: 15, eventRequestDefaultCount: 50, readHereShowMinimumEventCount: 10, diff --git a/projects/ucap-webmessenger-app/src/environments/environment.type.ts b/projects/ucap-webmessenger-app/src/environments/environment.type.ts index 4e97d513..0e93e851 100644 --- a/projects/ucap-webmessenger-app/src/environments/environment.type.ts +++ b/projects/ucap-webmessenger-app/src/environments/environment.type.ts @@ -82,6 +82,8 @@ export interface Environment { /** 대용량대화 기준 */ masstextLength: number; + /** 대화방 초기 로딩 이벤트 갯수 */ + eventRequestInitCount: number; /** 대화방 이벤트 조회 개수 */ eventRequestDefaultCount: number;