From c9f9616323abafadf35db3bf5130f535c6f55559 Mon Sep 17 00:00:00 2001 From: Joel Collins Date: Wed, 6 Nov 2019 22:27:39 +0000 Subject: [PATCH] Increased default timeout to 30 minutes --- src/components/genericComponents/taskSubmitter.vue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/components/genericComponents/taskSubmitter.vue b/src/components/genericComponents/taskSubmitter.vue index 1336b686..39049279 100644 --- a/src/components/genericComponents/taskSubmitter.vue +++ b/src/components/genericComponents/taskSubmitter.vue @@ -34,7 +34,12 @@ export default { pollInterval: { type: Number, required: false, - default: 500 + default: 0.5 + }, + pollTimeout: { + type: Number, + required: false, + default: 1800 }, submitLabel: { type: String, @@ -72,7 +77,7 @@ export default { // Start the store polling TaskId for success this.taskRunning = true // Return the poll-task promise (starts polling the task) - return this.pollTask(this.taskId, null, null) + return this.pollTask(this.taskId, this.pollTimeout, this.pollInterval) }) .then(response => { // Do something with the final response