mirror of
https://github.com/mjl-/mox.git
synced 2024-12-26 16:33:47 +03:00
remove leftover debug print
This commit is contained in:
parent
446726c940
commit
c930a400be
1 changed files with 0 additions and 3 deletions
|
@ -2005,9 +2005,6 @@ func (a *Account) QuotaMessageSize() int64 {
|
||||||
// CanAddMessageSize checks if a message of size bytes can be added, depending on
|
// CanAddMessageSize checks if a message of size bytes can be added, depending on
|
||||||
// total message size and configured quota for account.
|
// total message size and configured quota for account.
|
||||||
func (a *Account) CanAddMessageSize(tx *bstore.Tx, size int64) (ok bool, maxSize int64, err error) {
|
func (a *Account) CanAddMessageSize(tx *bstore.Tx, size int64) (ok bool, maxSize int64, err error) {
|
||||||
defer func() {
|
|
||||||
mlog.New("x", nil).Printx("canaddsize", err, slog.Int64("size", size), slog.Bool("ok", ok), slog.Int64("maxsize", maxSize))
|
|
||||||
}()
|
|
||||||
maxSize = a.QuotaMessageSize()
|
maxSize = a.QuotaMessageSize()
|
||||||
if maxSize <= 0 {
|
if maxSize <= 0 {
|
||||||
return true, 0, nil
|
return true, 0, nil
|
||||||
|
|
Loading…
Reference in a new issue