Maximum value of ActiveResource timeout

This is a bad thing to do but this temporary fix I want to push to production wants me to increase the timeout of ActiveResource. I've set it to 120 seconds. How much further can it go ?


I guess you could push it as far as you want. At some point the client's browser will timeout itself and leave your user with an error.

One of the points of the timeout value is to stop trying when it's going to fail. If you set it to high, there is no point in using one.

Need Your Help

Reading a html page and inserting it to database using classic asp

html database file-io replace asp-classic

I am trying to read a html page (file) including its tags line by line, and then inserting it to database using classic ASP. My problem is that I can not read html tags Like

Manually generate id of document inserted into Mongodb

mongodb mongoose database

I want to get the id of a created document without having to make a separate query to get the document after it is created. I'm thinking I'll need to manually create the id of the document before