Title: Setting Request Time Limit in Drupal
Tags: web-services;drupal;asihttprequest
Question: Anyone knows how to up the request time length in drupal? I'm trying to download large files via the web services module but my token keeps expiring because the request takes so long. I know there is a setting in drupal to do this but I just can't find it.
UPDATE
So I found out how to up the request time (/admin/build/services/settings) but that didn't work. I'm still getting "The request timed out" on files about 10mb large. Anyone has any ideas? Also, I'm using ASIHTTPRequest and drupal-ios-sdk and downloading the files to an iPad.
Comment: Thanks, turned out the issue was on the ipad side

Comment: Have you tried using `ini_set()`? http://www.php.net/manual/en/ini.list.php
Possibly `max_execution_time` or `max_inputtime` settings could work for you.

Here is the accepted answer: Turns out it was the default timeOutSeconds property on the ASIHTTPRequest was too small (10 seconds). When I uped it, my large files downloaded ok


{'source': 'StackExchangeDataset', 'subset': 'stackoverflow.com', 'metadata': {'AnswerCount': 1, 'CommentCount': 2, 'ContentLicense': 'CC BY-SA 3.0', 'CreationDate': '2011:00:06/09/11', 'FavoriteCount': None, 'PostTypeId': 1, 'Tags': '<web-services><drupal><asihttprequest>', 'Title': 'Setting Request Time Limit in Drupal', 'ViewCount': 357, 'id': 6287431, 'user_AboutMe': '', 'user_AccountId': 294567.0, 'user_DisplayName': 'enamrik', 'user_Reputation': 2272.0, 'user_Views': 194.0, 'user_id': 598531.0}}