Different runtime between App and Workflow

I have an App where i use the FileInput component allowing a single file.
Once the file is selected, i manually trigger a query to a workflow.

The workflow uploads the file to an API, thats working fine, the file is on the target. The workflow stats say it's roughly 6 seconds (5,34MB file)

But on the App Side, the workflow code is running over 120 seconds, until eventually the response is shown.

Anyone an idea why this happens?

Hey @whynot,

A shot in the dark, but could it be that you haven't deployed your workflow's latest version?

I'm also assuming that you have selected "Finished" in the Run until option of yoru workflow query, right?

Hi @MiguelOrtiz,
workflow is deployed, latest version.

Just ran again, after 122 seconds i get this:
image

And it's run until "finished".

I'm in a staging environment, not production, if that helps!

It's interesting that with a much smaller file generally it works (187 kB instead of 5,34 MB, just took first 4 pages of the same document)

However, still the runtime is different.
App:
image
Workflow: