fixed crash when setting cache_buffer_chunk_size to 0
This commit is contained in:
@@ -1682,6 +1682,9 @@ namespace aux {
|
||||
|
||||
m_settings = s;
|
||||
|
||||
if (m_settings.cache_buffer_chunk_size <= 0)
|
||||
m_settings.cache_buffer_chunk_size = 1;
|
||||
|
||||
update_rate_settings();
|
||||
|
||||
if (connections_limit_changed) update_connections_limit();
|
||||
|
Reference in New Issue
Block a user