MXS-1883 Remove locking during monitor loop

Since the admin cannot modify server states any more, the locks are not
required.
This commit is contained in:
Esa Korhonen
2018-05-28 17:11:52 +03:00
parent 37841183b3
commit 7cd19a12a2
5 changed files with 64 additions and 139 deletions

View File

@ -48,7 +48,8 @@ extern const char CN_PROXY_PROTOCOL[];
const int MAINTENANCE_OFF = -100;
const int MAINTENANCE_NO_CHANGE = 0;
const int MAINTENANCE_ON = 100;
const int MAINTENANCE_FLAG_NOCHECK = 0;
const int MAINTENANCE_FLAG_CHECK = -1;
/**
* The server parameters used for weighting routing decissions
*/