]> git.phdru.name Git - bookmarks_db.git/commitdiff
Set timeout to 60 seconds.
authorOleg Broytman <phd@phdru.name>
Wed, 11 Aug 2010 16:47:57 +0000 (16:47 +0000)
committerOleg Broytman <phd@phdru.name>
Wed, 11 Aug 2010 16:47:57 +0000 (16:47 +0000)
git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@254 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23

Robots/bkmk_rforking.py

index 5eac7e0d31553db250895c64660a89abcb9f4de3..4c4c098daae740d2278e6227ad86ca5b4457dc0b 100644 (file)
@@ -1,7 +1,7 @@
 """
    Forking robot
 
-   Written by Broytman. Copyright (C) 2000-2007 PhiloSoft Design.
+   Written by Broytman. Copyright (C) 2000-2010 PhiloSoft Design.
 """
 
 
@@ -51,7 +51,7 @@ class robot_forking(Robot):
          bookmark.tempfname = self.tempfname
          subp_pipe.write_record(pickle.dumps(bookmark))
 
-         if check_subp.waitForPendingChar(300): # wait 5 minutes
+         if check_subp.waitForPendingChar(60): # wait a minute
             new_b = pickle.loads(subp_pipe.read_record())
             for attr in ("error", "no_error",
                   "moved", "size", "md5", "real_title",