From 083a2058b232af7c3ce85a669fe2ebd25393df3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E8=81=AA?= Date: Wed, 20 Sep 2023 14:46:34 +0800 Subject: [PATCH] fix: invalid sleep random play duration for feed --- 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 aa374cca..0cec910c 100644 --- a/hrp/pkg/uixt/video_crawler.go +++ b/hrp/pkg/uixt/video_crawler.go @@ -389,7 +389,7 @@ func (vc *VideoCrawler) getCurrentVideo() (video *Video, err error) { if video.Type == VideoType_Live || video.Type == VideoType_PreviewLive { video.RandomPlayDuration = getSimulationDuration(vc.configs.Live.SleepRandom) } else { - video.RandomPlayDuration = getSimulationDuration(vc.configs.Live.SleepRandom) + video.RandomPlayDuration = getSimulationDuration(vc.configs.Feed.SleepRandom) } // get simulation play duration