Merge branch '2.3' into 2.4
This commit is contained in:
@ -1091,8 +1091,10 @@ bool Service::refresh_users()
|
||||
|
||||
MXS_CONFIG* config = config_get_global_options();
|
||||
|
||||
/* Check if refresh rate limit has been exceeded */
|
||||
if (now < m_rate_limits[self].last + config->users_refresh_time)
|
||||
/* Check if refresh rate limit has been exceeded. Also check whether we are in the middle of starting up.
|
||||
* If so, allow repeated reloading of users. */
|
||||
if (now > maxscale_started() + config->users_refresh_time
|
||||
&& now < m_rate_limits[self].last + config->users_refresh_time)
|
||||
{
|
||||
if (!m_rate_limits[self].warned)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user