From d6f4885b4a5f8ebc8a1d2bcb25aa9f3a0bd87408 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8D=E3=82=80=E3=81=AD=E3=81=93?= Date: Mon, 22 Jan 2024 11:08:48 +0900 Subject: [PATCH] iroiro --- .../one/nem/lacerta/data/impl/LacertaLibraryImpl.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/data/src/main/java/one/nem/lacerta/data/impl/LacertaLibraryImpl.java b/data/src/main/java/one/nem/lacerta/data/impl/LacertaLibraryImpl.java index 809c6f75..7fcf9cb5 100644 --- a/data/src/main/java/one/nem/lacerta/data/impl/LacertaLibraryImpl.java +++ b/data/src/main/java/one/nem/lacerta/data/impl/LacertaLibraryImpl.java @@ -78,6 +78,14 @@ public class LacertaLibraryImpl implements LacertaLibrary { @Override public CompletableFuture getLibraryPage(int limit) { return CompletableFuture.supplyAsync(() -> { + + // 5秒フリーズさせる + try { + Thread.sleep(1000); + } catch (InterruptedException e) { + e.printStackTrace(); + } + LibraryItemPage libraryItemPage = new LibraryItemPage(); List folderEntities = getFolderEntitiesByPublicPath("/").join();