#2062 HIGH Trial-2: Presenceservice repeatedly fails to connect if already registered but without saving config

Zarro Boogs per Child bugtracker at laptop.org
Mon Jul 23 21:43:31 EDT 2007


#2062: Presenceservice repeatedly fails to connect if already registered but
without saving config
-------------------------------+--------------------------------------------
  Reporter:  kimquirk          |       Owner:  morgs   
      Type:  defect            |      Status:  assigned
  Priority:  high              |   Milestone:  Trial-2 
 Component:  presence-service  |     Version:          
Resolution:                    |    Keywords:          
  Verified:  0                 |  
-------------------------------+--------------------------------------------
Comment (by smcv):

 I'm not sure why saving the config fails - I think we've fixed at least a
 couple of bugs that caused that.

 Replying to [comment:13 gdesmott]:
 > if registered == FALSE and got Connection_Status_Reason_Name_In_Use:
 >   set registered to TRUE
 >   Retry to connect

 Yes in principle, although I'd suggest

 if registered == FALSE and got Connection_Status_Reason_Name_In_Use:
   Retry to connect
   if successful:
     set registered to TRUE
   else:
     # FIXME: panic? Should perhaps retry, but with a really long backoff
 time

 This would be a good fix, but Morgan and I just haven't got round to
 implementing it... feel free to implement, I'll review if I can.

-- 
Ticket URL: <http://dev.laptop.org/ticket/2062#comment:14>
One Laptop Per Child <http://laptop.org/>



More information about the Bugs mailing list