Skip to content

Commit e1017ad

Browse files
asibrossjoshiste
authored andcommitted
Fix applications endpoint hang when there are more then 256 apps
1 parent c2707b9 commit e1017ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot-admin-server/src/main/java/de/codecentric/boot/admin/server/web/ApplicationsController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public Flux<Application> applications() {
7171
return registry.getInstances()
7272
.filter(Instance::isRegistered)
7373
.groupBy(instance -> instance.getRegistration().getName())
74-
.flatMap(grouped -> toApplication(grouped.key(), grouped));
74+
.flatMap(grouped -> toApplication(grouped.key(), grouped), Integer.MAX_VALUE);
7575
}
7676

7777

0 commit comments

Comments
 (0)