stash/pkg/manager
SmallCoccinelle 4a0c4c4847
Reorder waitgroup completion (#1748)
Rather than passing a pointer to a waitgroup into task.Start(..)
functions, handle the waitgroup.Done() at the callsite.

This makes waitgroup handling local to its definition rather than it
being spread out over multiple files. Tasks now simply execute, and
the policy of waiting on them is handled by the caller.
2021-09-22 13:22:59 +10:00
..
config Errcheck phase 1 (#1715) 2021-09-21 09:34:25 +10:00
jsonschema Studio aliases (#1660) 2021-09-09 18:13:42 +10:00
paths Errcheck phase 1 (#1715) 2021-09-21 09:34:25 +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 Studio aliases (#1660) 2021-09-09 18:13:42 +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 Errcheck phase 1 (#1715) 2021-09-21 09:34:25 +10: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 When stopping, close the database (#1686) 2021-09-07 14:28:40 +10:00
manager_tasks.go Reorder waitgroup completion (#1748) 2021-09-22 13:22:59 +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 Errcheck phase 1 (#1715) 2021-09-21 09:34:25 +10:00
scene.go Generate screenshot images for markers (#1604) 2021-09-15 12:27:05 +10:00
scene_screenshot.go Allow uploading of custom scene covers (#262) 2019-12-13 15:40:58 -05:00
screenshot.go Errcheck phase 1 (#1715) 2021-09-21 09:34:25 +10: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 Reorder waitgroup completion (#1748) 2021-09-22 13:22:59 +10:00
task_autotag.go Fix autotag tag alias (#1713) 2021-09-17 09:23:56 +10:00
task_clean.go Plugin hooks (#1452) 2021-06-11 17:24:58 +10:00
task_export.go Errcheck phase 1 (#1715) 2021-09-21 09:34:25 +10:00
task_generate_markers.go Reorder waitgroup completion (#1748) 2021-09-22 13:22:59 +10:00
task_generate_phash.go Reorder waitgroup completion (#1748) 2021-09-22 13:22:59 +10:00
task_generate_preview.go Reorder waitgroup completion (#1748) 2021-09-22 13:22:59 +10:00
task_generate_screenshot.go Reorder waitgroup completion (#1748) 2021-09-22 13:22:59 +10:00
task_generate_sprite.go Reorder waitgroup completion (#1748) 2021-09-22 13:22:59 +10:00
task_import.go Reorder waitgroup completion (#1748) 2021-09-22 13:22:59 +10:00
task_migrate_hash.go Reorder waitgroup completion (#1748) 2021-09-22 13:22:59 +10:00
task_plugin.go Plugin hooks (#1452) 2021-06-11 17:24:58 +10:00
task_scan.go Reorder waitgroup completion (#1748) 2021-09-22 13:22:59 +10:00
task_stash_box_tag.go Reorder waitgroup completion (#1748) 2021-09-22 13:22:59 +10:00
task_transcode.go Reorder waitgroup completion (#1748) 2021-09-22 13:22:59 +10:00