elsa-workflows / elsa-core

A .NET workflows library
https://v3.elsaworkflows.io/
MIT License
6.25k stars 1.14k forks source link

Problem with Logging Service #3587

Open danielfsantos2000 opened 1 year ago

danielfsantos2000 commented 1 year ago

While testing our flow with HTTP Endpoint (file with 4MB) the request takes lots of time. Our database is in Azure and I noticed the "WorkflowInstances" table saves the file data two times in one row. Our database is becoming larger and the Elsa Server starts to lag. Also our SQL Server takes lots of time to save the data and > 8MB files throws Timeout Exception.

Is there any configuration to disable this logging? (We've tried changing everything to transient and blob storage)

I appreciate some assistance! Best regards, Daniel Santos

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

sfmskywalker commented 1 year ago

You should be able to configure the output of the HTTP Endpoint to use a different storage provider other than the default “Workflow”. For instance, you could select Blob Storage, Redis or even Transient and have another activity handle the uploaded data.