diff --git a/backend/src/services/project/project-queue.ts b/backend/src/services/project/project-queue.ts
index 3a76d9c65..616aa1aef 100644
--- a/backend/src/services/project/project-queue.ts
+++ b/backend/src/services/project/project-queue.ts
@@ -150,7 +150,7 @@ export const projectQueueFactory = ({
},
// Only get the latest 700 secret versions for each folder.
{
- limit: 700,
+ limit: 1000,
sort: [["createdAt", "desc"]]
}
);
@@ -161,7 +161,7 @@ export const projectQueueFactory = ({
},
{
// Get all the secret versions that are not the latest 700
- offset: 700
+ offset: 1000
}
);
folderSecretVersionIdsToDelete.push(...deletedSecretVersions.map((el) => el.id));
diff --git a/frontend/src/layouts/AppLayout/AppLayout.tsx b/frontend/src/layouts/AppLayout/AppLayout.tsx
index 295369bc4..8957f6d91 100644
--- a/frontend/src/layouts/AppLayout/AppLayout.tsx
+++ b/frontend/src/layouts/AppLayout/AppLayout.tsx
@@ -605,7 +605,8 @@ export const AppLayout = ({ children }: LayoutProps) => {
- {window.location.origin.includes("https://app.infisical.com") && (
+ {(window.location.origin.includes("https://app.infisical.com") ||
+ window.location.origin.includes("https://gamma.infisical.com")) && (