mirror of
https://github.com/anyproto/any-sync.git
synced 2025-06-08 05:57:03 +09:00
do not throw an error when members count not increased
This commit is contained in:
parent
53ff0be164
commit
6d7c258b5f
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ func (as *aclService) AddRecord(ctx context.Context, spaceId string, rec *consen
|
|||
}
|
||||
}
|
||||
if readers >= beforeReaders {
|
||||
if uint32(readers) > limits.ReadMembers {
|
||||
if readers > beforeReaders && uint32(readers) > limits.ReadMembers {
|
||||
return ErrLimitExceed
|
||||
}
|
||||
if uint32(writers) > limits.WriteMembers {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue