Skip to content
Snippets Groups Projects
Commit d92eb322 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

data_transfer: use io pool instead of computation

as we send a file and not compute anything

Change-Id: I91b3682088d861f86af415fd526f85940944b278
parent 30b2ce2c
No related branches found
No related tags found
No related merge requests found
......@@ -330,7 +330,7 @@ private:
void sendFile() const
{
dht::ThreadPool::computation().run([this]() {
dht::ThreadPool::io().run([this]() {
while (!input_.eof() && onRecvCb_) {
std::vector<char> buf;
buf.resize(MAX_BUFFER_SIZE);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment