diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9123138..0b489c7 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -38,8 +38,7 @@ jobs: DB_URL=${{ secrets.DB_URL }} DB_USERNAME=${{ secrets.DB_USERNAME }} DB_PASSWORD=${{ secrets.DB_PASSWORD }} - REDIS_URL=${{ secrets.REDIS_URL }} - REDIS_PORT=${{ secrets.REDIS_PORT }} + REDIS_URL=${{ secrets.REDIS_URL }} tags: | eatda/api-server:latest diff --git a/src/main/kotlin/com/mjucow/eatda/domain/store/service/query/StoreQueryService.kt b/src/main/kotlin/com/mjucow/eatda/domain/store/service/query/StoreQueryService.kt index 2ee41b7..d499597 100644 --- a/src/main/kotlin/com/mjucow/eatda/domain/store/service/query/StoreQueryService.kt +++ b/src/main/kotlin/com/mjucow/eatda/domain/store/service/query/StoreQueryService.kt @@ -28,8 +28,9 @@ class StoreQueryService( } fun findById(storeId: Long): StoreDetailDto { + val entity = repository.getReferenceById(storeId) // FIXME(async): findById가 popular store command 과정에서 실패하지 않도록 비동기 호출 처리 popularStoreCommandService.setStore(storeId) - return StoreDetailDto.from(repository.getReferenceById(storeId)) + return StoreDetailDto.from(entity) } } diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index f731279..09f4b12 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -72,7 +72,6 @@ spring: data: redis: host: ${REDIS_URL} - port: ${REDIS_PORT} jooq: sql-dialect: postgres