Skip to content

Commit

Permalink
♻️ refactor(配置): 将Pageable的默认大小从50调整为25
Browse files Browse the repository at this point in the history
  • Loading branch information
vnobo committed Jun 3, 2024
1 parent 4030dbb commit 151d15d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public void configureArgumentResolvers(ArgumentResolverConfigurer configurer) {
ReactivePageableHandlerMethodArgumentResolver pageableResolver =
new ReactivePageableHandlerMethodArgumentResolver();
pageableResolver.setMaxPageSize(100);
pageableResolver.setFallbackPageable(Pageable.ofSize(50));
pageableResolver.setFallbackPageable(Pageable.ofSize(25));
configurer.addCustomResolver(pageableResolver);
}

Expand Down

0 comments on commit 151d15d

Please sign in to comment.