stash/pkg/sqlite
WithoutPants f39fa416a9
Fix database locked errors (#3153)
* Make read-only operations use WithReadTxn
* Allow one database write thread
* Add unit test for concurrent transactions
* Perform some actions after commit to release txn
* Suppress some errors from cancelled context
2022-11-21 06:49:10 +11:00
..
migrations Stash rating system (#2830) 2022-11-16 09:31:44 +11:00
common.go File storage rewrite (#2676) 2022-09-06 07:03:42 +00:00
custom_migrations.go File storage rewrite (#2676) 2022-09-06 07:03:42 +00:00
database.go Fix database locked errors (#3153) 2022-11-21 06:49:10 +11:00
file.go Fix path filters (#3041) 2022-10-26 18:48:13 +11:00
file_test.go [Files Refactor] Object file management (#2790) 2022-10-06 14:50:06 +11:00
filter.go Support filtering by StashID endpoint (#3005) 2022-11-17 10:08:15 +11:00
filter_internal_test.go Restructure data layer (#2532) 2022-09-06 07:03:40 +00:00
fingerprint.go File storage rewrite (#2676) 2022-09-06 07:03:42 +00:00
folder.go More timestamp corrections (#2933) 2022-09-20 13:52:37 +10:00
folder_test.go More timestamp corrections (#2933) 2022-09-20 13:52:37 +10:00
functions.go Restructure data layer (#2532) 2022-09-06 07:03:40 +00:00
gallery.go Stash rating system (#2830) 2022-11-16 09:31:44 +11:00
gallery_test.go Stash rating system (#2830) 2022-11-16 09:31:44 +11:00
image.go Stash rating system (#2830) 2022-11-16 09:31:44 +11:00
image_test.go Fix database locked errors (#3153) 2022-11-21 06:49:10 +11:00
movies.go Stash rating system (#2830) 2022-11-16 09:31:44 +11:00
movies_test.go Restructure data layer (#2532) 2022-09-06 07:03:40 +00:00
performer.go Support filtering by StashID endpoint (#3005) 2022-11-17 10:08:15 +11:00
performer_test.go Support filtering by StashID endpoint (#3005) 2022-11-17 10:08:15 +11:00
query.go [Files Refactor] Performance tuning (#2809) 2022-09-06 07:03:42 +00:00
record.go More timestamp corrections (#2933) 2022-09-20 13:52:37 +10:00
regex.go Restructure data layer (#2532) 2022-09-06 07:03:40 +00:00
repository.go Rebuild association tables, ensure file-system-based galleries cannot be changed (#2955) 2022-09-30 09:18:58 +10:00
saved_filter.go Order saved filters by name (#3101) 2022-11-09 11:06:11 +11:00
saved_filter_test.go Restructure data layer (#2532) 2022-09-06 07:03:40 +00:00
scene.go Support filtering by StashID endpoint (#3005) 2022-11-17 10:08:15 +11:00
scene_marker.go Add date filters (#2834) 2022-11-15 11:52:05 +11:00
scene_marker_test.go [Files Refactor] Performance tuning (#2819) 2022-09-06 07:03:42 +00:00
scene_test.go Fix database locked errors (#3153) 2022-11-21 06:49:10 +11:00
scraped_item.go Restructure data layer (#2532) 2022-09-06 07:03:40 +00:00
setup_test.go Stash rating system (#2830) 2022-11-16 09:31:44 +11:00
sql.go Add date filters (#2834) 2022-11-15 11:52:05 +11:00
stash_id_test.go [Files Refactor] Performance tuning (#2819) 2022-09-06 07:03:42 +00:00
studio.go Support filtering by StashID endpoint (#3005) 2022-11-17 10:08:15 +11:00
studio_test.go Fix tag/studio alias and caption null filtering (#2990) 2022-10-11 14:21:07 +11:00
table.go Support file-less scenes. Add scene split, merge and reassign file (#3006) 2022-11-14 16:35:09 +11:00
tables.go Performer refactor (#3057) 2022-10-31 14:58:01 +11:00
tag.go Add date filters (#2834) 2022-11-15 11:52:05 +11:00
tag_test.go Performer refactor (#3057) 2022-10-31 14:58:01 +11:00
transaction.go Fix database locked errors (#3153) 2022-11-21 06:49:10 +11:00
transaction_test.go Fix database locked errors (#3153) 2022-11-21 06:49:10 +11:00
tx.go Rebuild association tables, ensure file-system-based galleries cannot be changed (#2955) 2022-09-30 09:18:58 +10:00
values.go File storage rewrite (#2676) 2022-09-06 07:03:42 +00:00