Changeset 280e655 for account.h


Ignore:
Timestamp:
2008-08-05T23:07:07Z (12 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
4230221
Parents:
d84e2a9
Message:

Simple exponential backoff code. Have to add a maximum delay setting,
something like 5*5<300: 5s, multiply by 5 on each failure, but stop
increasing once we hit 5m.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • account.h

    rd84e2a9 r280e655  
    3535       
    3636        int auto_connect;
     37        int auto_reconnect_delay;
    3738        int reconnect;
    3839       
     
    5253
    5354char *set_eval_account( set_t *set, char *value );
     55char *set_eval_account_reconnect_delay( set_t *set, char *value );
     56int account_reconnect_delay( account_t *a );
    5457
    5558#define ACC_SET_NOSAVE          1
Note: See TracChangeset for help on using the changeset viewer.