stash/pkg/manager
EnameEtavir cb6dab3c5f
Fix: config race conditions with RWMutex (#1645)
* Fix: config race conditions with RWMutex

Added RWMutex to config.Instance which read or write locks
all instances where viper is used.

Refactored checksum manager to only use config and not
viper directly anymore.

All stash viper operations are now "behind" the config.Instance
and thus mutex "protected".
2021-08-24 15:18:30 +10:00
..
config Fix: config race conditions with RWMutex (#1645) 2021-08-24 15:18:30 +10:00
jsonschema Tag aliases (#1412) 2021-05-26 14:36:05 +10:00
paths Setup and migration UI refactor (#1190) 2021-04-12 09:31:33 +10:00
apikey.go Setup and migration UI refactor (#1190) 2021-04-12 09:31:33 +10:00
checksum.go Fix: config race conditions with RWMutex (#1645) 2021-08-24 15:18:30 +10:00
downloads.go Selective export (#770) 2020-09-15 17:28:53 +10:00
exclude_files.go Cleanup fixes (#1422) 2021-05-25 11:03:09 +10:00
exclude_files_test.go Added exclude patterns support for Clean Task (#274) 2019-12-23 21:06:07 -05:00
filename_parser.go Add option to filename parser to skip organized scenes (#1665) 2021-08-24 12:14:37 +10:00
gallery.go Images section (#813) 2020-10-13 10:12:46 +11:00
generator.go Make audio stream optional for preview generation (#1454) 2021-06-11 15:01:32 +10:00
generator_phash.go Add in-memory screenshot generation for sprites and phash (#1316) 2021-05-05 13:22:05 +10:00
generator_preview.go Make audio stream optional for preview generation (#1454) 2021-06-11 15:01:32 +10:00
generator_sprite.go Fix: unhandled errors (#1419) 2021-05-25 18:40:51 +10:00
image.go Data layer restructuring (#997) 2021-01-18 12:23:20 +11:00
import.go Add partial import functionality (#812) 2020-09-20 18:36:02 +10:00
json_utils.go Images section (#813) 2020-10-13 10:12:46 +11:00
manager.go Create default config directory during setup (#1623) 2021-08-10 14:58:14 +10:00
manager_tasks.go Overwrite phash during generate if flag set (#1633) 2021-08-11 16:08:10 +10:00
migrate_hash.go Migrate generated files when a scene is rescanned (#1106) 2021-02-10 10:50:34 +11:00
post_migrate.go Data layer restructuring (#997) 2021-01-18 12:23:20 +11:00
running_streams.go DLNA (#1364) 2021-05-20 16:58:43 +10:00
scene.go Setup and migration UI refactor (#1190) 2021-04-12 09:31:33 +10:00
scene_screenshot.go Allow uploading of custom scene covers (#262) 2019-12-13 15:40:58 -05:00
screenshot.go Generate cover image (#376) 2020-03-12 08:34:04 +11:00
studio.go Data layer restructuring (#997) 2021-01-18 12:23:20 +11:00
subscribe.go Job queueing (#1379) 2021-05-24 14:24:18 +10:00
task.go Job queueing (#1379) 2021-05-24 14:24:18 +10:00
task_autotag.go Tag aliases (#1412) 2021-05-26 14:36:05 +10:00
task_clean.go Plugin hooks (#1452) 2021-06-11 17:24:58 +10:00
task_export.go Job queueing (#1379) 2021-05-24 14:24:18 +10:00
task_generate_markers.go Data layer restructuring (#997) 2021-01-18 12:23:20 +11:00
task_generate_phash.go Overwrite phash during generate if flag set (#1633) 2021-08-11 16:08:10 +10:00
task_generate_preview.go Make audio stream optional for preview generation (#1454) 2021-06-11 15:01:32 +10:00
task_generate_screenshot.go Data layer restructuring (#997) 2021-01-18 12:23:20 +11:00
task_generate_sprite.go Strip file extension from scene title when scanning (#1022) 2021-01-07 11:38:30 +11:00
task_import.go Job queueing (#1379) 2021-05-24 14:24:18 +10:00
task_migrate_hash.go Migrate generated files when a scene is rescanned (#1106) 2021-02-10 10:50:34 +11:00
task_plugin.go Plugin hooks (#1452) 2021-06-11 17:24:58 +10:00
task_scan.go Plugin hooks (#1452) 2021-06-11 17:24:58 +10:00
task_stash_box_tag.go Fix: unhandled errors (#1419) 2021-05-25 18:40:51 +10:00
task_transcode.go Cleanup fixes (#1422) 2021-05-25 11:03:09 +10:00