Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Response timeout in development
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
pcrawfor  
View profile  
 More options Feb 27 2009, 7:49 pm
From: pcrawfor <pcraw...@gmail.com>
Date: Fri, 27 Feb 2009 16:49:49 -0800 (PST)
Local: Fri, Feb 27 2009 7:49 pm
Subject: Response timeout in development
Hey just a heads up to anyone running a rails app in development mode
Connection.m defines a fairly short time out on requests (5 seconds)
which I was hitting pretty easily on my local dev webserver for search
queries and that sort of thing.

You can modify
static float timeoutInterval = 5.0;
in Connection.m to increase for development.

The default logging output doesn't really indicate the reason for the
request failure might be worth outputting the connectionDelegate.error
in the response log as well.

I happen to be processing all of my objective resource requests in the
background so this doesn't affect user experience in my app.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ryan Daigle  
View profile  
 More options Feb 27 2009, 8:02 pm
From: Ryan Daigle <ryan.dai...@gmail.com>
Date: Fri, 27 Feb 2009 20:02:43 -0500
Local: Fri, Feb 27 2009 8:02 pm
Subject: Re: [ObjectiveResource] Response timeout in development

Good point - we should probably make that value more accessible AND up the
default amount a significant amount since it's quite feasible that people
will expect to connect over an EDGE network.
I've added a ticket to track this:

http://yfactorial.lighthouseapp.com/projects/18393-objectiveresource/...

-Ryan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
James Burka  
View profile  
 More options Feb 27 2009, 8:06 pm
From: James Burka <jjbu...@gmail.com>
Date: Fri, 27 Feb 2009 20:06:55 -0500
Local: Fri, Feb 27 2009 8:06 pm
Subject: Re: [ObjectiveResource] Re: Response timeout in development
You should be able to set the timeout interval like:

[Connection setTimeout:15];

Increasing the default is a good idea though.

James

On Feb 27, 2009, at 8:02 PM, Ryan Daigle wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »