Peter M. Groen
/
openbr
Toggle navigation
Sign in
Sign in
Project
Files
Commits
Network
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Download as
Email Patches
Plain Diff
Browse Code ยป
Commit
567c8b9628b132afa38ad9a3a4bdda23523129cb
Authored by
Keyur Patel
2019-11-07 13:01:06 -0700
1 parent
2f46e781
sleep if write buffer gets too large
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
openbr/plugins/gallery/lmdb.cpp
openbr/plugins/gallery/lmdb.cpp
View file @
567c8b9
...
...
@@ -180,6 +180,9 @@ class lmdbGallery : public Gallery
180
180
lock.unlock();
181
181
182
182
aThread.waitForFinished();
183
+
184
+ if (data.size() > 10000)
185
+ QThread::msleep(1);
183
186
}
184
187
}
185
188
...
...