mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Write config.json using temp file (#839)
Co-authored-by: SpyCheese <mikle98@yandex.ru>
This commit is contained in:
parent
b3be4283ff
commit
c8918f0c02
4 changed files with 33 additions and 9 deletions
|
@ -109,6 +109,9 @@ class DhtServer : public td::actor::Actor {
|
|||
std::string local_config_ = "";
|
||||
std::string global_config_ = "ton-global.config";
|
||||
std::string config_file_;
|
||||
std::string temp_config_file() const {
|
||||
return config_file_ + ".tmp";
|
||||
}
|
||||
|
||||
std::string db_root_ = "/var/ton-work/db/";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue