MXS-2273 Honour BEING_DRAINED in Backend::can_connect()
This will cause the drain bit to be honoured in RWS and Cat routers.
This commit is contained in:
@ -148,7 +148,7 @@ public:
|
|||||||
*/
|
*/
|
||||||
inline bool can_connect() const
|
inline bool can_connect() const
|
||||||
{
|
{
|
||||||
return !has_failed() && m_backend->server->is_usable();
|
return !has_failed() && m_backend->server->is_connectable();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user