Skip to content

Commit b0b0b33

Browse files
committed
sleep
1 parent 6a230f3 commit b0b0b33

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/VecSim/algorithms/brute_force/brute_force.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@
2525
#include <ranges>
2626
#include <sys/param.h>
2727

28+
29+
#include <chrono>
30+
#include <thread>
31+
2832
using spaces::dist_func_t;
2933

3034
template <typename DataType, typename DistType>
@@ -269,6 +273,7 @@ BruteForceIndex<DataType, DistType>::topKQuery(const void *queryBlob, size_t k,
269273
}
270274
return rep;
271275
}
276+
std::this_thread::sleep_for(std::chrono::seconds(1));
272277

273278
// Step 2 - min heapify H1
274279
// The comparator should probably be written outsize

0 commit comments

Comments
 (0)