Move DataDir Caching Responsibility to Caller to allow Cached Consensus #27

Merged
dan merged 3 commits from getinfo into master 2022-01-18 20:46:56 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 8ad13a6b36 - Show all commits

View File

@ -555,7 +555,7 @@ func createFromExisting(controlport *control.Conn, datadir string) *tor.Tor {
Control: controlport, Control: controlport,
ProcessCancelFunc: nil, ProcessCancelFunc: nil,
DataDir: datadir, DataDir: datadir,
DeleteDataDirOnClose: true, DeleteDataDirOnClose: false,
DebugWriter: nil, DebugWriter: nil,
StopProcessOnClose: false, StopProcessOnClose: false,
GeoIPCreatedFile: "", GeoIPCreatedFile: "",