MXS-1661 Turn error into warning and suppress logging

The error regarding the refresh rate having been exceeded

    error: [RWSplit] Refresh rate limit exceeded ...

has been turned into a warning. Further, the warning will be
logged at most once per refresh period that currently is 30s.
This commit is contained in:
Johan Wikman
2018-02-09 10:07:59 +02:00
parent 816983691a
commit b23ad6d2ef
2 changed files with 10 additions and 3 deletions

View File

@ -71,8 +71,9 @@ typedef struct
*/
typedef struct
{
int nloads;
time_t last;
int nloads; /*<< How many times have they been loaded. */
time_t last; /*<< When was the users loaded the last time. */
bool warned; /**< Has it been warned that the limit has been exceeded. */
} SERVICE_REFRESH_RATE;
typedef struct server_ref_t