From 27e4f29d8557fda35343602dbbf5ef6ebb111791 Mon Sep 17 00:00:00 2001 From: "lilong.129" Date: Sat, 19 Aug 2023 23:44:00 +0800 Subject: [PATCH] change: wait 2s for feed cache update --- hrp/pkg/uixt/video_crawler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hrp/pkg/uixt/video_crawler.go b/hrp/pkg/uixt/video_crawler.go index bbfb095c..5549fcf5 100644 --- a/hrp/pkg/uixt/video_crawler.go +++ b/hrp/pkg/uixt/video_crawler.go @@ -533,7 +533,7 @@ func getCurrentFeedVideo(plugin funplugin.IPlugin) (feedVideo *FeedVideo, err er } // FIXME: wait for cache update - time.Sleep(1000 * time.Millisecond) + time.Sleep(2000 * time.Millisecond) resp, err := plugin.Call("GetCurrentFeedVideo") if err != nil {