diff --git a/openbr/plugins/gallery/lmdb.cpp b/openbr/plugins/gallery/lmdb.cpp index d30e6bd..6ca9e37 100644 --- a/openbr/plugins/gallery/lmdb.cpp +++ b/openbr/plugins/gallery/lmdb.cpp @@ -180,6 +180,9 @@ class lmdbGallery : public Gallery lock.unlock(); aThread.waitForFinished(); + + if (data.size() > 10000) + QThread::msleep(1); } }