PIThread now setup itself in thread func
This commit is contained in:
@@ -45,7 +45,7 @@ void usage() {
|
||||
}
|
||||
|
||||
|
||||
PIString confDir() {
|
||||
PIString pisdConfDir() {
|
||||
return
|
||||
#ifdef WINDOWS
|
||||
PIDir::home().path() + "/AppData/Local"
|
||||
@@ -74,7 +74,7 @@ int main(int argc, char * argv[]) {
|
||||
}
|
||||
PINetworkAddress addr = PINetworkAddress("0.0.0.0", 10101);
|
||||
|
||||
PIString conf_path = confDir();
|
||||
PIString conf_path = pisdConfDir();
|
||||
PIDir::make(conf_path);
|
||||
conf_path += "/picloud.conf";
|
||||
uint max_connections = 1000;
|
||||
|
||||
Reference in New Issue
Block a user