How to override default iteration timeout?

Hi All. I am getting few of k6 run iterations getting failed because of below error:
"error":"request timeout","error_code":1050,

I had configured request timeout in my service to be 10min. I think there is 60Sec default timeout for http request in K6 run. How can i override this value? I want k6 iteration should not timeout unless request is aborted/timeout.

Thanks in advance!!

You can do this from a single location if you use the Httpx client or use Params.timeout under the k6/http module. However I have seen arguments on why allowing a super-long timeout is actually a poor practice or anti-pattern for performance testing.