diff --git a/Dai-Hentai/Models/Couchbase/DBGallery.m b/Dai-Hentai/Models/Couchbase/DBGallery.m index 4636ce4a..5b193dbf 100644 --- a/Dai-Hentai/Models/Couchbase/DBGallery.m +++ b/Dai-Hentai/Models/Couchbase/DBGallery.m @@ -217,6 +217,7 @@ + (void)deleteAllHistories:(void (^)(NSInteger total, NSInteger index, HentaiInf [document purgeDocument:nil]; }); } + [NSThread sleepForTimeInterval:0.5f]; } dispatch_async(dispatch_get_main_queue(), ^{ if (finish) {