I wrote one Java Backed webscript in alfresco to traverse all documents in one site and check some properties. But After calling that webcsript on Production, I am Getting HTTP ERROR 504
But Same webscript is working on DEV and Local. The reason here is there are very less documents on local and DEV. but on production there are huge number of documents present in the site. SO its taking more time for traverse, and i am not getting my expected result on production.
SO can we increase that time out period, or is there any other way using that i can execute my webscript and get the expected result on production.
Please suggest the possible ways.
Thanks in Advance.