summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2018-12-04 15:36:36 +0100
committerSimon Rettberg2018-12-04 15:36:36 +0100
commit6a18aecb8fc465064bf491c1a67572aea06551e8 (patch)
tree74b10eb5f51985ac4760fec4f3388eb7f7ce1910
parentNamereplace: Try to call external tool to translate username (diff)
downloadslxgreeter-6a18aecb8fc465064bf491c1a67572aea06551e8.tar.gz
slxgreeter-6a18aecb8fc465064bf491c1a67572aea06551e8.tar.xz
slxgreeter-6a18aecb8fc465064bf491c1a67572aea06551e8.zip
Increase LDAP timeout to 8 secs
-rw-r--r--src/namereplace.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/namereplace.cpp b/src/namereplace.cpp
index 0e203f3..c2c36a8 100644
--- a/src/namereplace.cpp
+++ b/src/namereplace.cpp
@@ -70,7 +70,7 @@ void NameReplace::replace(QString& input)
}
QProcess getCaps;
getCaps.start(LOOKUP_PROCESS, QStringList(input));
- getCaps.waitForFinished(100);
+ getCaps.waitForFinished(8000);
QString output = QString::fromLocal8Bit(getCaps.readAllStandardOutput());
int idx = output.indexOf('\n');
if (idx != -1) {