sartography / spiff-arena

SpiffWorkflow is a software development platform for building, running, and monitoring executable diagrams
https://www.spiffworkflow.org/
GNU Lesser General Public License v2.1
56 stars 40 forks source link

Waiting time after admin actions is increased #1273

Open sashayar13 opened 4 months ago

sashayar13 commented 4 months ago

There is a noticeable waiting time for processing a process instance after resuming admin actions. For this example, it took 22 minutes for the process instance to change its status. https://dev.app.spiff.status.im/i/2470 Image

Perhaps related to the https://github.com/sartography/spiff-arena/issues/1270 ?

jasquat commented 4 months ago

I think this is related to the background processor. After resuming a process instance, the background processor has to pick it up and then process it so that can take awhile.

I think this should be fixed with celery.

calexh-sar commented 4 months ago

Check once Celery dev work is complete.

madhurrya commented 4 months ago

Tested with some simple models and it resumes quickly in dev.mod at the moment. But need to retest later after creating more instances when this Issue is fixed https://github.com/sartography/spiff-arena/issues/1359

madhurrya commented 1 month ago

Tested again in dev.mod (celery) and the resume is working fast there.