mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-17 10:31:05 -04:00
Optimized startup of RetroShare by removing two unnecessary calls to AuthGPGimpl::storeAllKeys.
Fixed small hangs of RetroShare by removing the core lock in RsServer::ConfigGetDataRates. Is that needed? git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4725 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
ef57cd44b3
commit
e150e31401
5 changed files with 54 additions and 23 deletions
|
@ -146,7 +146,7 @@ const std::string& Hash();
|
|||
* Checks if configuration has changed
|
||||
*/
|
||||
void IndicateConfigChanged();
|
||||
void setHash(std::string h);
|
||||
void setHash(const std::string& h);
|
||||
|
||||
RsMutex cfgMtx;
|
||||
|
||||
|
@ -157,7 +157,7 @@ void setHash(std::string h);
|
|||
/**
|
||||
* This sets the name of the pqi configuation file
|
||||
*/
|
||||
void setFilename(std::string name);
|
||||
void setFilename(const std::string& name);
|
||||
|
||||
/**
|
||||
* @param an index for the Confind which contains list of configuarations that can be tracked
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue