feat: reject messages which are too large

This commit is contained in:
James Houlahan
2021-01-12 15:51:14 +01:00
parent 4ffa62f6ca
commit 0679b99a65
5 changed files with 32 additions and 4 deletions

View File

@ -31,7 +31,7 @@ import (
type storeUserProvider interface {
UserID() string
GetSpace() (usedSpace, maxSpace uint, err error)
GetMaxUpload() (uint, error)
GetMaxUpload() (int64, error)
GetAddress(addressID string) (storeAddressProvider, error)