1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-04 08:43:13 +02:00

relay/api: add automatic reconnection to remote (closes #2166)

New options:

- remote option "autoreconnect_delay"
- relay.api.remote_autoreconnect_delay_growing
- relay.api.remote_autoreconnect_delay_max
This commit is contained in:
Sébastien Helleu
2024-08-11 12:18:28 +02:00
parent fc6811341a
commit a317c785fb
26 changed files with 789 additions and 80 deletions
+50 -20
View File
@@ -264,6 +264,56 @@ TEST(RelayRemote, Rename)
/* TODO: write tests */
}
/*
* Tests functions:
* relay_remote_disconnect
*/
TEST(RelayRemote, Disconnect)
{
/* TODO: write tests */
}
/*
* Tests functions:
* relay_remote_reconnect_schedule
*/
TEST(RelayRemote, ReconnectSchedule)
{
/* TODO: write tests */
}
/*
* Tests functions:
* relay_remote_reconnect
*/
TEST(RelayRemote, Reconnect)
{
/* TODO: write tests */
}
/*
* Tests functions:
* relay_remote_timer
*/
TEST(RelayRemote, Timer)
{
/* TODO: write tests */
}
/*
* Tests functions:
* relay_remote_disconnect_all
*/
TEST(RelayRemote, DisconnectAll)
{
/* TODO: write tests */
}
/*
* Tests functions:
* relay_remote_free
@@ -284,26 +334,6 @@ TEST(RelayRemote, FreeAll)
/* TODO: write tests */
}
/*
* Tests functions:
* relay_remote_disconnect
*/
TEST(RelayRemote, Disconnect)
{
/* TODO: write tests */
}
/*
* Tests functions:
* relay_remote_disconnect_all
*/
TEST(RelayRemote, DisconnectAll)
{
/* TODO: write tests */
}
/*
* Tests functions:
* relay_remote_add_to_infolist