diff --git a/aspnet-core/framework/auditing/LINGYUN.Abp.AuditLogging.Elasticsearch/LINGYUN/Abp/AuditLogging/Elasticsearch/ElasticsearchAuditLogManager.cs b/aspnet-core/framework/auditing/LINGYUN.Abp.AuditLogging.Elasticsearch/LINGYUN/Abp/AuditLogging/Elasticsearch/ElasticsearchAuditLogManager.cs index d3195188e..f7e7b3f42 100644 --- a/aspnet-core/framework/auditing/LINGYUN.Abp.AuditLogging.Elasticsearch/LINGYUN/Abp/AuditLogging/Elasticsearch/ElasticsearchAuditLogManager.cs +++ b/aspnet-core/framework/auditing/LINGYUN.Abp.AuditLogging.Elasticsearch/LINGYUN/Abp/AuditLogging/Elasticsearch/ElasticsearchAuditLogManager.cs @@ -519,7 +519,7 @@ public class ElasticsearchAuditLogManager : IAuditLogManager, ITransientDependen })) .SourceIncludes(x => x.Id) .SearchAfter(firstHit.Sort.ToList()) - .Size(1), + .Size(remaining), cancellationToken); if (!secondResponse.IsSuccess() || secondResponse.Hits == null || !secondResponse.Hits.Any())