WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: importsce doesn't stop if internet goes off  (Read 1783 times)

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
importsce doesn't stop if internet goes off
« on: August 05, 2014, 03:32:46 AM »
 :-\
dCore user

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: importsce doesn't stop if internet goes off
« Reply #1 on: August 05, 2014, 07:29:52 PM »
Upon testing by unplugging my network cable, I see the download of packages by wget hangs until the network is reestablished by the cord being plugged back in.  The only place where it seems to not resume is in the zsync download of the Packages file.  I could impose a timeout with the "-T" option in wget, but that would punish folks who are using a large list file and the server or internet may be busy but it currently will resume when the network is available.  A timeout would mean those folks would have importsce exit and have to retry because of a 25 second delay in the network if I imposed a 20 second timeout rule when otherwise the import session would be successful. 

So I think it is best left as is.  If zsync hangs in the initial download of the Pakcages file, a simple Ctrl^C and checking the network and then re-importing would be the best fix.