Skip to content

Commit

Permalink
Update cmd/livepeer/livepeer.go
Browse files Browse the repository at this point in the history
Co-authored-by: Victor Elias <[email protected]>
  • Loading branch information
leszko and victorges authored May 18, 2022
1 parent 07f0921 commit 8c632a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/livepeer/livepeer.go
Original file line number Diff line number Diff line change
Expand Up @@ -1504,7 +1504,7 @@ func checkOrStoreChainID(dbh *common.DB, chainID *big.Int) error {
// extendTimeouts extends transcoding timeouts for the testing purpose.
// This functionality is intended for Stream Tester to avoid timing out while measuring orchestrator performance.
func extendTimeouts() {
if os.Getenv("LP_EXTEND_TIMEOUTS") == "true" {
if boolVal, _ := strconv.ParseBool(os.Getenv("LP_EXTEND_TIMEOUTS")); boolVal {
// Make all timeouts 8s for the common segment durations
common.SegUploadTimeoutMultiplier = 4.0
common.SegmentUploadTimeout = 8 * time.Second
Expand Down

0 comments on commit 8c632a1

Please sign in to comment.