summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-08-17 12:27:21 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-08-17 12:27:21 +0200
commit44f06d9a30b5edd76d82e087a8aee5d68eeff493 (patch)
tree0287a4725b42224e5310c77b5da8dd32f50a4c24 /src/gui
parent5627160040467c39641f77886e90ff6695fb120c (diff)
downloadabrt-44f06d9a30b5edd76d82e087a8aee5d68eeff493.tar.gz
abrt-44f06d9a30b5edd76d82e087a8aee5d68eeff493.tar.xz
abrt-44f06d9a30b5edd76d82e087a8aee5d68eeff493.zip
GUI: increase dbus timeout in Report() call
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/CCDBusBackend.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/CCDBusBackend.py b/src/gui/CCDBusBackend.py
index 5ddb9cdf..3673bdec 100644
--- a/src/gui/CCDBusBackend.py
+++ b/src/gui/CCDBusBackend.py
@@ -185,10 +185,12 @@ class DBusManager(gobject.GObject):
# map < Plugin_name vec <status, message> >
# daemon expects plugin names, not the objects
reporters_names = [str(reporter) for reporter in reporters]
+ # Timeout needs to be BIG: some reporters upload stuff over Internet,
+ # and uploading of, say, 200meg+ file can easily take ten minutes or more.
if reporters_settings:
- self.daemon().Report(report, reporters_names, reporters_settings, reply_handler=self.report_done, error_handler=self.error_handler_cb, timeout=60)
+ self.daemon().Report(report, reporters_names, reporters_settings, reply_handler=self.report_done, error_handler=self.error_handler_cb, timeout=3600)
else:
- self.daemon().Report(report, reporters_names, reply_handler=self.report_done, error_handler=self.error_handler_cb, timeout=60)
+ self.daemon().Report(report, reporters_names, reply_handler=self.report_done, error_handler=self.error_handler_cb, timeout=3600)
def DeleteDebugDump(self, crash_id):
return self.daemon().DeleteDebugDump(crash_id)