stash/pkg
SmallCoccinelle b76283df08
Fix data race in progress_test (#1696)
The call to p.ExecuteTask happens in a separate go-routine. It writes,
under m.mutex, into the job's details. However, the test goroutine
itself reads j.Details which is a read race.

Protect the reads in the test by the lock.

This makes `package job` pass `go test -race`
2021-09-07 13:30:26 +10:00
..
api Remove assignments to _ (#1685) 2021-09-07 13:18:32 +10:00
autotag Handle auto-tagging where filename has no whitespace in name (#1488) 2021-06-08 10:47:22 +10:00
database Saved filters (#1474) 2021-06-16 14:53:32 +10:00
dlna DLNA refactor and support browse folder objects (#1517) 2021-06-22 18:56:16 +10:00
ffmpeg Load TLS config files from config path before stash home (#1678) 2021-08-31 19:37:45 +10:00
gallery Filter studio hierarchy (#1397) 2021-06-03 20:52:19 +10:00
image Filter studio hierarchy (#1397) 2021-06-03 20:52:19 +10:00
job Fix data race in progress_test (#1696) 2021-09-07 13:30:26 +10:00
logger Add full timestamp for console/file logging (#1130) 2021-03-01 12:28:09 +11:00
manager Unify scrape refactor (#1630) 2021-09-07 11:54:22 +10:00
models Unify scrape refactor (#1630) 2021-09-07 11:54:22 +10:00
movie Data layer restructuring (#997) 2021-01-18 12:23:20 +11:00
performer Added rating to performers and studios (#1308) 2021-04-26 13:48:32 +10:00
plugin Load TLS config files from config path before stash home (#1678) 2021-08-31 19:37:45 +10:00
scene Add phash generation and dupe checking (#1158) 2021-04-12 09:04:40 +10:00
scraper Unify scrape refactor (#1630) 2021-09-07 11:54:22 +10:00
session Plugin hooks (#1452) 2021-06-11 17:24:58 +10:00
sqlite Add movies tab to Studios and Performers page (#1675) 2021-09-07 12:16:33 +10:00
studio Added rating to performers and studios (#1308) 2021-04-26 13:48:32 +10:00
tag Tag aliases (#1412) 2021-05-26 14:36:05 +10:00
utils Load TLS config files from config path before stash home (#1678) 2021-08-31 19:37:45 +10:00