This commit is contained in:
ろむねこ 2024-01-22 11:08:48 +09:00
parent 0b33c60a5a
commit d6f4885b4a
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168

View File

@ -78,6 +78,14 @@ public class LacertaLibraryImpl implements LacertaLibrary {
@Override
public CompletableFuture<LibraryItemPage> getLibraryPage(int limit) {
return CompletableFuture.supplyAsync(() -> {
// 5秒フリーズさせる
try {
Thread.sleep(1000);
} catch (InterruptedException e) {
e.printStackTrace();
}
LibraryItemPage libraryItemPage = new LibraryItemPage();
List<FolderEntity> folderEntities = getFolderEntitiesByPublicPath("/").join();