aboutsummaryrefslogtreecommitdiff
path: root/web/app/store
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-06-11 21:01:43 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-06-11 21:01:43 +1200
commitd67213556dcc87453c0ad5cd6f9e8851c477a2f3 (patch)
tree65e26465ae688729c762eb71f699b2f40195a9ce /web/app/store
parentb7cad4c8622997b10e42f7dbd89393dab7af9423 (diff)
downloadetbsa-traccar-web-d67213556dcc87453c0ad5cd6f9e8851c477a2f3.tar.gz
etbsa-traccar-web-d67213556dcc87453c0ad5cd6f9e8851c477a2f3.tar.bz2
etbsa-traccar-web-d67213556dcc87453c0ad5cd6f9e8851c477a2f3.zip
Increase reports timeout
Diffstat (limited to 'web/app/store')
-rw-r--r--web/app/store/ReportEvents.js1
-rw-r--r--web/app/store/ReportRoute.js1
-rw-r--r--web/app/store/ReportStops.js1
-rw-r--r--web/app/store/ReportSummary.js1
-rw-r--r--web/app/store/ReportTrips.js1
5 files changed, 5 insertions, 0 deletions
diff --git a/web/app/store/ReportEvents.js b/web/app/store/ReportEvents.js
index ca90693..061aaa4 100644
--- a/web/app/store/ReportEvents.js
+++ b/web/app/store/ReportEvents.js
@@ -22,6 +22,7 @@ Ext.define('Traccar.store.ReportEvents', {
proxy: {
type: 'rest',
url: 'api/reports/events',
+ timeout: Traccar.Style.reportTimeout,
headers: {
'Accept': 'application/json'
},
diff --git a/web/app/store/ReportRoute.js b/web/app/store/ReportRoute.js
index 6ee4bbc..7babe16 100644
--- a/web/app/store/ReportRoute.js
+++ b/web/app/store/ReportRoute.js
@@ -22,6 +22,7 @@ Ext.define('Traccar.store.ReportRoute', {
proxy: {
type: 'rest',
url: 'api/reports/route',
+ timeout: Traccar.Style.reportTimeout,
headers: {
'Accept': 'application/json'
},
diff --git a/web/app/store/ReportStops.js b/web/app/store/ReportStops.js
index 9e9ba13..75c9fc1 100644
--- a/web/app/store/ReportStops.js
+++ b/web/app/store/ReportStops.js
@@ -23,6 +23,7 @@ Ext.define('Traccar.store.ReportStops', {
proxy: {
type: 'rest',
url: 'api/reports/stops',
+ timeout: Traccar.Style.reportTimeout,
headers: {
'Accept': 'application/json'
},
diff --git a/web/app/store/ReportSummary.js b/web/app/store/ReportSummary.js
index 4e53d94..f328da2 100644
--- a/web/app/store/ReportSummary.js
+++ b/web/app/store/ReportSummary.js
@@ -23,6 +23,7 @@ Ext.define('Traccar.store.ReportSummary', {
proxy: {
type: 'rest',
url: 'api/reports/summary',
+ timeout: Traccar.Style.reportTimeout,
headers: {
'Accept': 'application/json'
},
diff --git a/web/app/store/ReportTrips.js b/web/app/store/ReportTrips.js
index d8aa922..057cc7c 100644
--- a/web/app/store/ReportTrips.js
+++ b/web/app/store/ReportTrips.js
@@ -23,6 +23,7 @@ Ext.define('Traccar.store.ReportTrips', {
proxy: {
type: 'rest',
url: 'api/reports/trips',
+ timeout: Traccar.Style.reportTimeout,
headers: {
'Accept': 'application/json'
},