mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 06:28:11 +00:00
Merge remote-tracking branch 'origin' into update-docs
This commit is contained in:
+13
-2
@@ -225,8 +225,19 @@ const main = async () => {
|
|||||||
|
|
||||||
server.on("close", async () => {
|
server.on("close", async () => {
|
||||||
await DatabaseService.closeDatabase();
|
await DatabaseService.closeDatabase();
|
||||||
syncSecretsToThirdPartyServices.close();
|
// TODO: prevent queue from trying to reconnect with redis after .close
|
||||||
githubPushEventSecretScan.close();
|
syncSecretsToThirdPartyServices.close()
|
||||||
|
githubPushEventSecretScan.close()
|
||||||
|
});
|
||||||
|
|
||||||
|
process.on("SIGINT", function () {
|
||||||
|
server.close();
|
||||||
|
process.exit(0);
|
||||||
|
});
|
||||||
|
|
||||||
|
process.on("SIGTERM", function () {
|
||||||
|
server.close();
|
||||||
|
process.exit(0);
|
||||||
});
|
});
|
||||||
|
|
||||||
return server;
|
return server;
|
||||||
|
|||||||
@@ -144,7 +144,7 @@ export default function NavHeader({
|
|||||||
href={{ pathname: "/project/[id]/secrets/[env]", query }}
|
href={{ pathname: "/project/[id]/secrets/[env]", query }}
|
||||||
>
|
>
|
||||||
<a className="text-sm font-semibold text-primary/80 hover:text-primary">
|
<a className="text-sm font-semibold text-primary/80 hover:text-primary">
|
||||||
folderName
|
{folderName}
|
||||||
</a>
|
</a>
|
||||||
</Link>
|
</Link>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user