Commit c9f96163 authored by Joel Collins's avatar Joel Collins
Browse files

Increased default timeout to 30 minutes

parent 6b3cd659
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -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