一点小优化
This commit is contained in:
@@ -127,7 +127,7 @@ namespace dy.net.service
|
||||
{
|
||||
|
||||
var followdOpendCount = await _followRepository.CountAsync(x => x.FullSync);
|
||||
if (followdOpendCount > 20)
|
||||
if (followdOpendCount > 20 && dto.FullSync)
|
||||
{
|
||||
throw new Exception("抱歉,为了减少被风控的可能,关注列表最多同时开启20个全量同步");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user