Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

138
Views
Is there any maximum/minimum timeout for the xmlhttprequest?

Is there any maximum timeout for the xmlhttprequest ? Currently its not possible to set timeout value more than 1 minute in chrome. let xmlHttpRequest: XMLHttpRequest = new XMLHttpRequest(); xmlHttpRequest.timeout = 120000;

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

Yes, there is a maximum timeout for xmlhttprequest in chrome, and that is 1 minute. Unfortunately you can not increase the timeout by setting the timeout property of xmlhttprequest in chrome. But if you are on windows, you might possibly set the maixmum tmeout with the help of regedit, and the steps are ...

  • press window + r > type regedit > press enter
  • navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\InternetSettings
  • create a DWORD vale named KeepAliveTimeout and set the data value 120000 (2 min.)
  • create another value named ServerInfoTimeout, following the same steps
  • restart PC
over 4 years ago · Santiago Trujillo Report

0

No, the XMLHttpRequest object does not have a maximum timeout value, because the default timeout value is 0, meaning infinite.

Source: https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/timeout

You mentioned Chrome: the network stack you are on does have timeout limitations.

Google Chrome will not let you change the default timeout values.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!