mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 00:56:44 +01:00
mongos async: use two IO threads
This commit is contained in:
parent
ab09697687
commit
7eb1d29f1b
@ -158,6 +158,7 @@ namespace mongo {
|
||||
|
||||
void run(){
|
||||
cout << "AsyncMessageServer starting to listen on: " << _port << endl;
|
||||
boost::thread other(boost::bind(&io_service::run, &_ioservice));
|
||||
_ioservice.run();
|
||||
cout << "AsyncMessageServer done listening on: " << _port << endl;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user