Skip to content

Commit

Permalink
React Deploy And WebConfig Setting
Browse files Browse the repository at this point in the history
  • Loading branch information
akageun committed Jul 18, 2024
1 parent 0126b0f commit 78dc3dd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import org.springframework.beans.factory.InitializingBean;
import org.springframework.stereotype.Service;

import java.io.File;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentMap;
Expand Down Expand Up @@ -87,8 +88,13 @@ public void deleteById(String clusterId) {
}

private DB makeDB() {
DBMaker.Maker maker = DBMaker

File file = new File(System.getProperty("user.home") + "/.cassdio");
if(!file.exists()){
file.mkdir();
}

DBMaker.Maker maker = DBMaker
//TODO : 추후 프로퍼티 받아서 주입할 수 있도록 변경 예정
.fileDB(System.getProperty("user.home") + "/.cassdio/cassdio_v1.db")
.fileMmapEnable() // Always enable mmap
Expand Down

0 comments on commit 78dc3dd

Please sign in to comment.