autobrr/internal
soup d8c977b5ba
refactor(config): copylocks and staticcheck findings (#1261)
refactor: copylocks and staticcheck findings

Refactor mutex handling, optimize byte slice creation, and clean up code in accordance with go.staticcheck and copylocks guidelines.

- Changed AppConfig's mutex to *sync.Mutex, preventing mutex copying and enhancing thread safety.
- Simplified byte slice initialization in writeConfig for efficiency.
- Removed redundant return in DynamicReload for better code clarity.
2023-11-19 16:03:53 +01:00
..
action feat(clients): Transmission support seedtime and ratiolimit (#1211) 2023-10-31 00:38:23 +01:00
announce feat(definitions): add expectations for test lines (#1257) 2023-11-18 15:41:39 +01:00
api chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00
auth chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00
client chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00
config refactor(config): copylocks and staticcheck findings (#1261) 2023-11-19 16:03:53 +01:00
database feat(database): setup integration tests (#1118) 2023-11-18 20:04:30 +01:00
domain feat(database): setup integration tests (#1118) 2023-11-18 20:04:30 +01:00
download_client feat(clients): Transmission support seedtime and ratiolimit (#1211) 2023-10-31 00:38:23 +01:00
events chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00
feed feat(feeds): add force run (#1243) 2023-11-18 21:54:53 +01:00
filter fix(filters): external webhook remove jitter (#1254) 2023-11-17 17:05:29 +01:00
http feat(feeds): add force run (#1243) 2023-11-18 21:54:53 +01:00
indexer fix(indexers): AnimeBytes parsing (#1259) 2023-11-18 23:07:50 +01:00
irc feat(irc): log connection errors (#1239) 2023-11-18 15:44:46 +01:00
logger feat(logs): show full log event (#1096) 2023-09-10 12:28:10 +02:00
mock chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00
notification feat(notifications): Add Gotify (#1180) 2023-10-14 12:08:12 +02:00
release feat(downloadclient): set downloadClientId for arr clients (#1081) 2023-09-03 15:34:55 +02:00
scheduler feat(feeds): add scheduled cleanup (#1073) 2023-09-02 22:44:28 +02:00
server chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00
update chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00
user chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00
utils chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00