Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ interface LocationRecentSearchRepository : JpaRepository<LocationRecentSearch, U
DELETE FROM LocationRecentSearch r WHERE r.memberId = :memberId AND r.lastSearchedAt < :threshold
"""
)
fun deleteOlderThan(memberId: UUID, it: LocalDateTime)
fun deleteOlderThan(memberId: UUID, threshold: LocalDateTime)

}
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class ElasticsearchConfig {
.loadTrustMaterial(null) { _, _ -> true } // 개발용
.build()

val restClient = RestClient.builder(HttpHost("172.31.60.74", 9200, "http"))
val restClient = RestClient.builder(HttpHost("43.203.108.129", 9200, "http"))
.setHttpClientConfigCallback { httpClientBuilder ->
httpClientBuilder
.setSSLContext(sslContext)
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ spring:
datasource:
driver-class-name: org.h2.Driver
#url: jdbc:h2:file:~/map;AUTO_SERVER=TRUE;DB_CLOSE_DELAY=-1;DATABASE_TO_UPPER=false;MODE=MySQL
url: jdbc:h2:tcp://localhost/~/map;AUTO_SERVER=TRUE;DB_CLOSE_DELAY=-1;DATABASE_TO_UPPER=false;MODE=MySQL
url: jdbc:h2:tcp://localhost/~/Desktop/db/map;AUTO_SERVER=TRUE;DB_CLOSE_DELAY=-1;DATABASE_TO_UPPER=false;MODE=MySQL
username: sa
password:
h2:
Expand Down