diff --git a/.rhcicd/clowdapp-backend.yaml b/.rhcicd/clowdapp-backend.yaml index 641265515c..03ccfc6689 100644 --- a/.rhcicd/clowdapp-backend.yaml +++ b/.rhcicd/clowdapp-backend.yaml @@ -98,7 +98,7 @@ objects: path: /health/ready port: 8000 scheme: HTTP - initialDelaySeconds: 40 + initialDelaySeconds: 1200 periodSeconds: 10 timeoutSeconds: 1 successThreshold: 1 @@ -108,7 +108,7 @@ objects: path: /health/live port: 8000 scheme: HTTP - initialDelaySeconds: 40 + initialDelaySeconds: 1200 periodSeconds: 10 timeoutSeconds: 1 successThreshold: 1 diff --git a/database/src/main/resources/db/migration/V1.107.0__RHCLOUD-36536_update_indexes_for_notification_drawer.sql b/database/src/main/resources/db/migration/V1.107.0__RHCLOUD-36536_update_indexes_for_notification_drawer.sql index ccf65b69ea..819c7bb121 100644 --- a/database/src/main/resources/db/migration/V1.107.0__RHCLOUD-36536_update_indexes_for_notification_drawer.sql +++ b/database/src/main/resources/db/migration/V1.107.0__RHCLOUD-36536_update_indexes_for_notification_drawer.sql @@ -1,2 +1,2 @@ -CREATE INDEX ix_drawer_notification_org_id_user_id_read_created_event_id ON drawer_notification (org_id, user_id, read, created DESC, event_id); DROP INDEX ix_drawer_notification_org_id_user_id_created_read_event_id; +CREATE INDEX ix_drawer_notification_org_id_user_id_read_created_event_id ON drawer_notification (org_id, user_id, read, created DESC, event_id);