File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/main/java/org/umc/travlocksserver/domain/template/service/command Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 55import org .springframework .beans .factory .annotation .Value ;
66import org .springframework .data .domain .PageRequest ;
77import org .springframework .stereotype .Service ;
8+ import org .springframework .transaction .annotation .Propagation ;
89import org .springframework .transaction .annotation .Transactional ;
910import org .umc .travlocksserver .domain .template .dto .response .VlockSuggestionsResponseDTO ;
1011import org .umc .travlocksserver .domain .template .entity .Template ;
@@ -565,7 +566,8 @@ private List<Vlock> findNearVlocksByCenter(
565566 /**
566567 * 카카오맵 API로부터 Vlock들을 추가하는 메서드
567568 */
568- private void fetchFromExternal (Long templateId , LatLng center , Integer radiusKm ) {
569+ @ Transactional (propagation = Propagation .NOT_SUPPORTED )
570+ protected void fetchFromExternal (Long templateId , LatLng center , Integer radiusKm ) {
569571 List <CityProjectionDTO > cities = templateCityQueryService .getCitiesByTemplateId (templateId );
570572 if (cities .isEmpty ())
571573 return ;
You can’t perform that action at this time.
0 commit comments