Author Topic: Time-out for GC offlinizer  (Read 1421 times)

Offline dibrial

  • Expert
  • Apprentice of Locus
  • **
  • Posts: 126
    • View Profile
Time-out for GC offlinizer
« on: July 11, 2013, 08:42:51 »
On some caches it takes a long time before images are downloaded or sometimes they are not downloaded at all. When doing big offlinzier files, this could be annoying, since Locus does not seem to time-out.

Could an option be added to have Locus time-out on the current cache and continue with the next?
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline Menion

  • Locus team
  • Professor of Locus
  • *****
  • Posts: 12475
  • Thanked: 775 times
    • View Profile
    • http://www.asamm.com
  • Device: Pixel 2
Re: Time-out for GC offlinizer
« Reply #1 on: July 12, 2013, 06:49:26 »
hi dibrial, as I'm checking code, there is! already a timeout - 15s. because some image may be larger, I think 15s is enough. Fact that offlinizer is slow is mainly because:
1. access for images over API is slow
2. between each cache is placed 3s spaces where locus waits, because of reducing traffic on gc.com server

so in the end, if you want to offlinize huge number of caches, it really should take a few hours ...
« Last Edit: January 01, 1970, 01:00:00 by Guest »
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 final download
 

Offline dibrial

  • Expert
  • Apprentice of Locus
  • **
  • Posts: 126
    • View Profile
Re: Time-out for GC offlinizer
« Reply #2 on: July 12, 2013, 21:02:49 »
Would it be possible to  manually override the time-out setting? Maybe per config file?
Would not using the API improve speed?
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline Menion

  • Locus team
  • Professor of Locus
  • *****
  • Posts: 12475
  • Thanked: 775 times
    • View Profile
    • http://www.asamm.com
  • Device: Pixel 2
Re: Time-out for GC offlinizer
« Reply #3 on: July 13, 2013, 07:56:46 »
- and which value you want to use instead of 15s?

- and if you disable using API then yes, it will improve speed. Anyway by this method Locus will download only a images that are mentioned in short or long listing
« Last Edit: January 01, 1970, 01:00:00 by Guest »
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 final download