nuxencs / seasonpackarr

A companion app for autobrr that automagically hardlinks downloaded episodes into a season folder when a season pack is announced, eliminating the need for re-downloading existing episodes.
GNU General Public License v2.0
53 stars 3 forks source link

refactor(processor): replace sync.Map with xsync.MapOf #135

Closed nuxencs closed 1 month ago

nuxencs commented 1 month ago

Replace the standard library sync.Map with xsync.MapOf which performs much better and is a lot easier to use. Also use the client name as the key for the clientMap and torrentMap, because it is already a unique key.