vipyrsec / dragonfly-mainframe

The mainframe for Dragonfly
https://docs.vipyrsec.com/dragonfly-mainframe/
MIT License
5 stars 1 forks source link

Use SQLAlchemy's bulk insert for batch package #113

Closed Robin5605 closed 1 year ago

Robin5605 commented 1 year ago

We've been seeing some issues with queries hanging and timing out - further debugging reveals that it might have to do with how we're using transactions and savepoints. Using SQLAlchemy's bulk insert should hopefully alleviate that problem.