mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-19 01:25:06 +00:00
Replace N+1 update_or_create() loop with bulk_create(update_conflicts=True) wrapped in transaction.atomic(). On large M3U accounts with many groups, the previous approach issued individual DB queries per group/category, which could take minutes on slower hardware like Synology NAS devices. |
||
|---|---|---|
| .. | ||
| accounts | ||
| api | ||
| backups | ||
| channels | ||
| connect | ||
| dashboard | ||
| epg | ||
| hdhr | ||
| m3u | ||
| output | ||
| plugins | ||
| proxy | ||
| vod | ||