aboutsummaryrefslogtreecommitdiff
path: root/jobs/basejob.h
diff options
context:
space:
mode:
Diffstat (limited to 'jobs/basejob.h')
-rw-r--r--jobs/basejob.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/jobs/basejob.h b/jobs/basejob.h
index 66812774..aa4894bd 100644
--- a/jobs/basejob.h
+++ b/jobs/basejob.h
@@ -36,6 +36,12 @@ namespace QMatrixClient
enum class HttpVerb { Get, Put, Post, Delete };
+ struct JobTimeoutConfig
+ {
+ int jobTimeout;
+ int nextRetryInterval;
+ };
+
class BaseJob: public QObject
{
Q_OBJECT