Increase SV migrate to 1000 & add billing page to Gamma

This commit is contained in:
Daniel Hougaard
2024-02-22 07:30:26 +01:00
parent 31cc3ece0c
commit bbe769a961
2 changed files with 4 additions and 3 deletions
@@ -150,7 +150,7 @@ export const projectQueueFactory = ({
}, },
// Only get the latest 700 secret versions for each folder. // Only get the latest 700 secret versions for each folder.
{ {
limit: 700, limit: 1000,
sort: [["createdAt", "desc"]] sort: [["createdAt", "desc"]]
} }
); );
@@ -161,7 +161,7 @@ export const projectQueueFactory = ({
}, },
{ {
// Get all the secret versions that are not the latest 700 // Get all the secret versions that are not the latest 700
offset: 700 offset: 1000
} }
); );
folderSecretVersionIdsToDelete.push(...deletedSecretVersions.map((el) => el.id)); folderSecretVersionIdsToDelete.push(...deletedSecretVersions.map((el) => el.id));
+2 -1
View File
@@ -605,7 +605,8 @@ export const AppLayout = ({ children }: LayoutProps) => {
</MenuItem> </MenuItem>
</a> </a>
</Link> </Link>
{window.location.origin.includes("https://app.infisical.com") && ( {(window.location.origin.includes("https://app.infisical.com") ||
window.location.origin.includes("https://gamma.infisical.com")) && (
<Link href={`/org/${currentOrg?.id}/billing`} passHref> <Link href={`/org/${currentOrg?.id}/billing`} passHref>
<a> <a>
<MenuItem <MenuItem