duplicity-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Duplicity-tracker] [bug #25512] [Patch] Retry on Imap failure


From: anonymous
Subject: [Duplicity-tracker] [bug #25512] [Patch] Retry on Imap failure
Date: Sat, 07 Feb 2009 09:44:06 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6

URL:
  <http://savannah.nongnu.org/bugs/?25512>

                 Summary: [Patch] Retry on Imap failure
                 Project: duplicity
            Submitted by: None
            Submitted on: sam 07 fév 2009 09:44:05 UTC
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Hi,

  This is the 2nd part of the bug report.
The attached patch fix the IMAP_SERVER bug, and adds retry on failure for the
imapbackend.py file.

I'm using the globals.timeout variable to set the allowed timeout 
while retrying. 
I've fixed the timeout step to 30s (so globals.timeout = 2 or 29 gives 30s,
globals.timeout = 31 gives 60 and so on) as socket linger time is around 30s
too (so it works with imap server with per user connection limit).

Setting a global timeout of 0 (default value) defaults to retry for 1 day.

I hope this will solve the broken backup issue we are facing when connection
break.

Cyril



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: sam 07 fév 2009 09:44:05 UTC  Name: retryImap.patch  Size: 6 ko   By:
None
The imap backend retry patch 
<http://savannah.nongnu.org/bugs/download.php?file_id=17416>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?25512>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]