mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-11 18:11:21 +08:00
fix: invalid sleep random play duration for feed
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user