From 064ca09e2d68ffbe2c89e133ac5ef64a0698f9d9 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Tue, 1 Mar 2022 10:52:02 +0100 Subject: [PATCH] Align default ttl with GitHub job run timeout (#126) Co-authored-by: CrazyMax --- dist/index.js | 2 +- src/gpg.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 290dd081..4a6c3e78 100644 --- a/dist/index.js +++ b/dist/index.js @@ -170,7 +170,7 @@ const fs = __importStar(__webpack_require__(5747)); const path = __importStar(__webpack_require__(5622)); const os = __importStar(__webpack_require__(2087)); const openpgp = __importStar(__webpack_require__(4666)); -exports.agentConfig = `default-cache-ttl 7200 +exports.agentConfig = `default-cache-ttl 21600 max-cache-ttl 31536000 allow-preset-passphrase`; const getGnupgHome = () => __awaiter(void 0, void 0, void 0, function* () { diff --git a/src/gpg.ts b/src/gpg.ts index 82920a61..8dbc5d8c 100644 --- a/src/gpg.ts +++ b/src/gpg.ts @@ -4,7 +4,7 @@ import * as path from 'path'; import * as os from 'os'; import * as openpgp from './openpgp'; -export const agentConfig = `default-cache-ttl 7200 +export const agentConfig = `default-cache-ttl 21600 max-cache-ttl 31536000 allow-preset-passphrase`;