Setting a timeout

View: New views
5 Messages — Rating Filter:   Alert me  

Setting a timeout

by Erick Antezana-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Lincoln,

  would it be possible for you to include/implement a way to set a timeout for being able to deal with "heavy" requests/queries that might take too much time? Ideally, we thought such a parameter could go within the GBrowse.conf file, for instance:

    default_request_timeout  =  60

we have seen that actually such parameter is located in :

     ...../Bio/Graphics/Browser/CachedTrack.pm

which holds the following:

   use constant DEFAULT_REQUEST_TIME => 60;

thanks,
Erick

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Gmod-gbrowse mailing list
Gmod-gbrowse@...
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse

Re: Setting a timeout

by Lincoln Stein-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Erick,

Sorry I missed the original email.

In gbrowse2 there is a global_timeout option, which defaults to 20 seconds. If the query doesn't complete within this time, you get a pink track with an error message that says "request timed out" or something similar.

Lincoln

On Wed, Sep 30, 2009 at 5:29 AM, Erick Antezana <erick.antezana@...> wrote:
Hello Lincoln,

  would it be possible for you to include/implement a way to set a timeout for being able to deal with "heavy" requests/queries that might take too much time? Ideally, we thought such a parameter could go within the GBrowse.conf file, for instance:

    default_request_timeout  =  60

we have seen that actually such parameter is located in :

     ...../Bio/Graphics/Browser/CachedTrack.pm

which holds the following:

   use constant DEFAULT_REQUEST_TIME => 60;

thanks,
Erick

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Gmod-gbrowse mailing list
Gmod-gbrowse@...
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse




--
Lincoln D. Stein
Director, Informatics and Biocomputing Platform
Ontario Institute for Cancer Research
101 College St., Suite 800
Toronto, ON, Canada M5G0A3
416 673-8514
Assistant: Renata Musa <Renata.Musa@...>

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Gmod-gbrowse mailing list
Gmod-gbrowse@...
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse

Re: Setting a timeout

by Erick Antezana-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Lincoln,

 actually, we had tried to set the timeout with the parameter you mentioned (global_timeout = 240) but it didn't make the trick.

 The only way we found was by changing the DEFAULT_REQUEST_TIME:

   use constant DEFAULT_REQUEST_TIME => 60;

 Attached you will find an screenshot showing an image (RICE data) where a couple of tracks do not display anything in spite of having used the "global_timeout".

 The blank tracks appear simultaneously after 60 seconds.

thanks,
Erick

2009/10/5 Lincoln Stein <lincoln.stein@...>
Hi Erick,

Sorry I missed the original email.

In gbrowse2 there is a global_timeout option, which defaults to 20 seconds. If the query doesn't complete within this time, you get a pink track with an error message that says "request timed out" or something similar.

Lincoln

On Wed, Sep 30, 2009 at 5:29 AM, Erick Antezana <erick.antezana@...> wrote:
Hello Lincoln,

  would it be possible for you to include/implement a way to set a timeout for being able to deal with "heavy" requests/queries that might take too much time? Ideally, we thought such a parameter could go within the GBrowse.conf file, for instance:

    default_request_timeout  =  60

we have seen that actually such parameter is located in :

     ...../Bio/Graphics/Browser/CachedTrack.pm

which holds the following:

   use constant DEFAULT_REQUEST_TIME => 60;

thanks,
Erick

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Gmod-gbrowse mailing list
Gmod-gbrowse@...
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse




--
Lincoln D. Stein
Director, Informatics and Biocomputing Platform
Ontario Institute for Cancer Research
101 College St., Suite 800
Toronto, ON, Canada M5G0A3
416 673-8514
Assistant: Renata Musa <Renata.Musa@...>



------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Gmod-gbrowse mailing list
Gmod-gbrowse@...
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse

timeout.gif (109K) Download Attachment

Re: Setting a timeout

by Lincoln Stein-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ok, this is a bug. I'll look into it.

Is this is a case in which a keyword search takes a long time to complete, or is it a track update issue that occurs when you scroll around the genome?

Lincoln

On Mon, Oct 5, 2009 at 12:01 PM, Erick Antezana <erick.antezana@...> wrote:
Hi Lincoln,

 actually, we had tried to set the timeout with the parameter you mentioned (global_timeout = 240) but it didn't make the trick.

 The only way we found was by changing the DEFAULT_REQUEST_TIME:


   use constant DEFAULT_REQUEST_TIME => 60;

 Attached you will find an screenshot showing an image (RICE data) where a couple of tracks do not display anything in spite of having used the "global_timeout".

 The blank tracks appear simultaneously after 60 seconds.

thanks,
Erick

2009/10/5 Lincoln Stein <lincoln.stein@...>

Hi Erick,

Sorry I missed the original email.

In gbrowse2 there is a global_timeout option, which defaults to 20 seconds. If the query doesn't complete within this time, you get a pink track with an error message that says "request timed out" or something similar.

Lincoln

On Wed, Sep 30, 2009 at 5:29 AM, Erick Antezana <erick.antezana@...> wrote:
Hello Lincoln,

  would it be possible for you to include/implement a way to set a timeout for being able to deal with "heavy" requests/queries that might take too much time? Ideally, we thought such a parameter could go within the GBrowse.conf file, for instance:

    default_request_timeout  =  60

we have seen that actually such parameter is located in :

     ...../Bio/Graphics/Browser/CachedTrack.pm

which holds the following:

   use constant DEFAULT_REQUEST_TIME => 60;

thanks,
Erick

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Gmod-gbrowse mailing list
Gmod-gbrowse@...
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse




--
Lincoln D. Stein
Director, Informatics and Biocomputing Platform
Ontario Institute for Cancer Research
101 College St., Suite 800
Toronto, ON, Canada M5G0A3
416 673-8514
Assistant: Renata Musa <Renata.Musa@...>




--
Lincoln D. Stein
Director, Informatics and Biocomputing Platform
Ontario Institute for Cancer Research
101 College St., Suite 800
Toronto, ON, Canada M5G0A3
416 673-8514
Assistant: Renata Musa <Renata.Musa@...>

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Gmod-gbrowse mailing list
Gmod-gbrowse@...
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse

Re: Setting a timeout

by Erick Antezana-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Lincoln,

  it is a track update issue.

Erick

2009/10/5 Lincoln Stein <lincoln.stein@...>
Ok, this is a bug. I'll look into it.

Is this is a case in which a keyword search takes a long time to complete, or is it a track update issue that occurs when you scroll around the genome?

Lincoln


On Mon, Oct 5, 2009 at 12:01 PM, Erick Antezana <erick.antezana@...> wrote:
Hi Lincoln,

 actually, we had tried to set the timeout with the parameter you mentioned (global_timeout = 240) but it didn't make the trick.

 The only way we found was by changing the DEFAULT_REQUEST_TIME:


   use constant DEFAULT_REQUEST_TIME => 60;

 Attached you will find an screenshot showing an image (RICE data) where a couple of tracks do not display anything in spite of having used the "global_timeout".

 The blank tracks appear simultaneously after 60 seconds.

thanks,
Erick

2009/10/5 Lincoln Stein <lincoln.stein@...>

Hi Erick,

Sorry I missed the original email.

In gbrowse2 there is a global_timeout option, which defaults to 20 seconds. If the query doesn't complete within this time, you get a pink track with an error message that says "request timed out" or something similar.

Lincoln

On Wed, Sep 30, 2009 at 5:29 AM, Erick Antezana <erick.antezana@...> wrote:
Hello Lincoln,

  would it be possible for you to include/implement a way to set a timeout for being able to deal with "heavy" requests/queries that might take too much time? Ideally, we thought such a parameter could go within the GBrowse.conf file, for instance:

    default_request_timeout  =  60

we have seen that actually such parameter is located in :

     ...../Bio/Graphics/Browser/CachedTrack.pm

which holds the following:

   use constant DEFAULT_REQUEST_TIME => 60;

thanks,
Erick

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Gmod-gbrowse mailing list
Gmod-gbrowse@...
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse




--
Lincoln D. Stein
Director, Informatics and Biocomputing Platform
Ontario Institute for Cancer Research
101 College St., Suite 800
Toronto, ON, Canada M5G0A3
416 673-8514
Assistant: Renata Musa <Renata.Musa@...>




--
Lincoln D. Stein
Director, Informatics and Biocomputing Platform
Ontario Institute for Cancer Research
101 College St., Suite 800
Toronto, ON, Canada M5G0A3
416 673-8514
Assistant: Renata Musa <Renata.Musa@...>


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Gmod-gbrowse mailing list
Gmod-gbrowse@...
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse