From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp62.i.mail.ru (smtp62.i.mail.ru [217.69.128.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 02364469719 for ; Sat, 15 Feb 2020 01:48:38 +0300 (MSK) References: <20200214193156.1279-1-i.kosarev@tarantool.org> From: Vladislav Shpilevoy Message-ID: <4ec66e78-3927-bb1c-ceee-71f6200f33e1@tarantool.org> Date: Fri, 14 Feb 2020 23:48:37 +0100 MIME-Version: 1.0 In-Reply-To: <20200214193156.1279-1-i.kosarev@tarantool.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Tarantool-patches] [PATCH] quota: add is_enabled field List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Ilya Kosarev , tarantool-patches@dev.tarantool.org Hi! On 14/02/2020 20:31, Ilya Kosarev wrote: > By default the quota is enabled. If it is set to false, quota_use will > allow to overuse the total available memory limit. > > Part of tarantool/tarantool#3807 > --- > Branch: https://github.com/tarantool/small/tree/i.kosarev/gh-3807-safe-alloc-on-truncation > Issue: https://github.com/tarantool/tarantool/issues/3807 > > small/quota.h | 15 ++++++++++++++- > 1 file changed, 14 insertions(+), 1 deletion(-) Please, add tests.