#631 Fix error when creating node queries for large datasets
Pull request opened by zhuoyuan-liu
Implement batch creation of node queries to handle more than 10,000 nodes efficiently.
It's a quick fix and I think it's a good idea to applied the batchsize as a global configuration for DB cofig.
It can be done by:
db, err := gorm.Open(postgres.Open(dsn), &gorm.Config{
CreateBatchSize: 1000,
})
jmpsec/osctrl