mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-11 17:02:25 +00:00
better
This commit is contained in:
parent
8ff072c702
commit
c541df4e54
@ -171,7 +171,6 @@ private:
|
|||||||
///FIXME
|
///FIXME
|
||||||
while(hasChunksToWorkWith())
|
while(hasChunksToWorkWith())
|
||||||
{
|
{
|
||||||
std::cout << writer_unit_number << ' ' << collector_unit_number << std::endl;
|
|
||||||
std::this_thread::sleep_for(std::chrono::milliseconds(100));
|
std::this_thread::sleep_for(std::chrono::milliseconds(100));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -207,7 +206,7 @@ private:
|
|||||||
|
|
||||||
/// Do main work here.
|
/// Do main work here.
|
||||||
out.write(unit.segment.data(), unit.actual_memory_size);
|
out.write(unit.segment.data(), unit.actual_memory_size);
|
||||||
out.sync();
|
// out.sync();
|
||||||
|
|
||||||
++collector_unit_number;
|
++collector_unit_number;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user