DBDigital / nookapps

Automatically exported from code.google.com/p/nookapps Please note I am not a developer. I only created this to prevent the code from being lost with the shutdown of GoogleCode. If you wish to work on this, contact me and I will add you. :)
0 stars 0 forks source link

Trook page timeout is too short #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Timeout for reading the rss feed page is too short.  It is about a minute.
After a minute, nook puts itself to sleep.  Please look at nookBrowser,
which has correct timeout code.

What is the expected output? What do you see instead?
The timeout should be what is set in the nook settings.  This is typically
10 minutes.

What version of the product are you using? On what operating system?
0.1

Please provide any additional information below.

Original issue reported on code.google.com by mjhtr...@gmail.com on 12 Jan 2010 at 5:11

GoogleCodeExporter commented 8 years ago
Yup, reading the code, I see that the default timeout is set to 2 minutes.  

It is better to set it as:

    private final static long POWER_DELAY = 10*60*1000; // 10 minutes

rather than:

    private final static long POWER_DELAY = 120*1000; // 2 minutes

Original comment by mjhtr...@gmail.com on 23 Jan 2010 at 10:38

GoogleCodeExporter commented 8 years ago
Sounds good -- this needs to come from a settings anyway

Original comment by kbsriram on 26 Jan 2010 at 9:45

GoogleCodeExporter commented 8 years ago

Original comment by kbsriram on 26 Jan 2010 at 9:52

GoogleCodeExporter commented 8 years ago
Thanks for the pointer to the nookBrowser code (and thanks hari!) changes 
checked in
(can get it from a source build, or in a few days, I'll put out a new package 
as well
so I can roll in a few more bug-fixes.)

Original comment by kbsriram on 4 Feb 2010 at 4:30