REORG: server: move slowstart init outside of checks
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 21 Sep 2021 09:51:29 +0000 (11:51 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 21 Sep 2021 12:00:32 +0000 (14:00 +0200)
commit29d1ac133025dc586c79b599ebc21ccd3fbf1374
tree41544854034091ed909a94e6edbaed120ad83852
parent725f8d29ff9c1a6a3c0d4a9e3200aed8ca15c908
REORG: server: move slowstart init outside of checks

'slowstart' can be used without check on a server, with the CLI handlers
'enable/disable server'. Move the code to initialize and start the
slowstart task outside of check.c.

This change will also be reused to enable slowstart for dynamic servers.
src/check.c
src/server.c