mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-10 15:32:05 -03:30
task: removing 10 second poll for optional secrets / configmaps (#31729)
closes: #31680 Signed-off-by: Steve Hawkins <shawkins@redhat.com>
This commit is contained in:
parent
7ce6f12fe3
commit
a7c71dc0bc
@ -154,7 +154,7 @@ public class KeycloakController implements Reconciler<Keycloak>, EventSourceInit
|
||||
|
||||
var statefulSet = context.getSecondaryResource(StatefulSet.class);
|
||||
|
||||
if (!status.isReady() || statefulSet.filter(watchedResources::hasMissing).isPresent()) {
|
||||
if (!status.isReady()) {
|
||||
updateControl.rescheduleAfter(10, TimeUnit.SECONDS);
|
||||
} else if (statefulSet.filter(watchedResources::isWatching).isPresent()) {
|
||||
updateControl.rescheduleAfter(config.keycloak().pollIntervalSeconds(), TimeUnit.SECONDS);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user