mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
![]() * refactor log sanitization for better performance * Fix token error, add mutex for safer concurrency * serve sanitized version directly from memory * further improvements made it check for "module":"irc" before running the irc regex checks * Revert "further improvements" This reverts commit 260037c3a58e1e760613167d3e15136b313c0612. * update irc regexes to handle special characters - added prefixes to the irc patterns - improved tests * more improvements for irc regexes * fixed errors * another edge case bites the dust * regex improvements * lock to 1 worker if cpu cores is 2 or less * removed unused code * revert to single thread Moved regex patterns and replacements into a separate array for easier maintenance and readability. Optimized the regex patterns that share the same replacement string to avoid redundancy. Modify SanitizeLogFile to accept io.Writer for direct output * style * only check relevant lines - only check relevant lines - dont break unless length=0 * revert breaking change * handle api and auth cases --------- Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com> |
||
---|---|---|
.. | ||
action | ||
announce | ||
api | ||
auth | ||
client | ||
config | ||
database | ||
domain | ||
download_client | ||
events | ||
feed | ||
filter | ||
http | ||
indexer | ||
irc | ||
logger | ||
mock | ||
notification | ||
release | ||
scheduler | ||
server | ||
update | ||
user | ||
utils |