Changeset 280e655 for irc.c


Ignore:
Timestamp:
2008-08-05T23:07:07Z (11 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
  • irc.c

    rd84e2a9 r280e655  
    139139        set_add( &irc->set, "auto_connect", "true", set_eval_bool, irc );
    140140        set_add( &irc->set, "auto_reconnect", "false", set_eval_bool, irc );
    141         set_add( &irc->set, "auto_reconnect_delay", "300", set_eval_int, irc );
     141        set_add( &irc->set, "auto_reconnect_delay", "300", set_eval_account_reconnect_delay, irc );
    142142        set_add( &irc->set, "buddy_sendbuffer", "false", set_eval_bool, irc );
    143143        set_add( &irc->set, "buddy_sendbuffer_delay", "200", set_eval_int, irc );
Note: See TracChangeset for help on using the changeset viewer.