aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/function/gpg/GpgContext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/function/gpg/GpgContext.cpp')
-rw-r--r--src/core/function/gpg/GpgContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/function/gpg/GpgContext.cpp b/src/core/function/gpg/GpgContext.cpp
index 1960960f..7c7cde3d 100644
--- a/src/core/function/gpg/GpgContext.cpp
+++ b/src/core/function/gpg/GpgContext.cpp
@@ -108,7 +108,7 @@ class GpgAgentProcess {
if (process_.state() != QProcess::NotRunning) {
qInfo() << "killing gpg-agent, channel: " << channel_;
process_.terminate();
- if (!process_.waitForFinished(5000)) {
+ if (!process_.waitForFinished(3000)) {
process_.kill();
process_.waitForFinished();
}