Yes, there is an upper limit to the time which you
can define in this timeout function. The limit is set to 1000 seconds.
I certainly don't think there is any need to define timeout beyond this limit, as if
your application is taking this long already to respond, which means this is
something wrong with the application response itself and increasing the timeout
further will not help.
And if you will try to place the timeout beyond
1000 seconds in web_set_timeout() function, you will see below error message in
the replay logs:
"Error - 27285: setting the timeout value
failed"