On Mon, 8 Feb 2016 18:36:38 +0100
Beluc <[email protected]> wrote:

> Hi,
> 
> I have few questions about that :
> 
> is that annoying to do fs i/o in a core.register_task ? I read that
> everywhere else, it's not recommended but here, I'm not sure ...


Hello,

I confirm: it is not recommended also in tasks. The tasks executions
are scheduled between the I/O access, so we cannot not block the
process.


> second question, I cannot find out how to retrieve backends and
> servers status (UP or DOWN) in core.register_task. is that possible ?
> any idea ?


Its not possible for the moment. I hope to find any time to do this in
the next HAProxy version.


Thierry

Reply via email to