Commit Graph

2009 Commits

Author SHA1 Message Date
tcely
a1495d27f0
Update local_settings.py.container 2025-04-17 12:45:49 -04:00
tcely
142e93500f
Use the db import for reset_queries 2025-04-17 03:31:10 -04:00
tcely
134231fda7
Use the new setting 2025-04-17 03:27:17 -04:00
tcely
035eeea54c
Add SQLITE_DELAY_FLOAT setting 2025-04-17 03:24:05 -04:00
tcely
b1e7f0eed2
Be explicit about not using durable with atomic 2025-04-17 03:11:14 -04:00
tcely
3b5c776634
Do not interfere with the exception handling 2025-04-17 03:06:17 -04:00
tcely
4bf975bf92
Move the SQLite case to the end of the function 2025-04-17 03:03:00 -04:00
tcely
09969afa6e
Import and set the variable 2025-04-17 02:53:46 -04:00
tcely
d60a159af7
Add delay for SQLite to allow for more interleaving 2025-04-17 02:48:46 -04:00
tcely
5e4dfa158a
Merge branch 'main' into patch-3 2025-04-17 02:37:27 -04:00
meeb
7e946f654b
Merge pull request #969 from tcely/patch-2
Some checks failed
CI / info (push) Has been cancelled
CI / test (3.10) (push) Has been cancelled
CI / test (3.11) (push) Has been cancelled
CI / test (3.12) (push) Has been cancelled
CI / test (3.8) (push) Has been cancelled
CI / test (3.9) (push) Has been cancelled
CI / containerise (push) Has been cancelled
Adjust the relative link in README.md
2025-04-16 16:48:55 +10:00
tcely
2a5bf30ab6
Adjust the relative link in README.md 2025-04-16 02:36:43 -04:00
meeb
124af77d22
Merge pull request #967 from tcely/patch-2
Update README.md
2025-04-16 15:27:57 +10:00
tcely
cf51901bee
Link to settings.py 2025-04-15 17:55:45 -04:00
tcely
7fd87fbb89
Mention settings.py setting 2025-04-15 17:51:53 -04:00
tcely
57b7502a7b
Update README.md
Link to the environment variable anchor.
2025-04-15 17:47:52 -04:00
meeb
1fc0462c11
Merge pull request #965 from tcely/patch-2
Some checks are pending
CI / info (push) Waiting to run
CI / test (3.10) (push) Waiting to run
CI / test (3.11) (push) Waiting to run
CI / test (3.12) (push) Waiting to run
CI / test (3.8) (push) Waiting to run
CI / test (3.9) (push) Waiting to run
CI / containerise (push) Blocked by required conditions
Fix `dumpdata` output
2025-04-16 00:49:40 +10:00
tcely
623a81acde
Be consistent and explicit with the len check 2025-04-14 20:04:10 -04:00
tcely
0317bc4318
Switch the log to debug level 2025-04-14 20:00:15 -04:00
tcely
44a940faee
fixup: empty lists should work too 2025-04-14 19:52:44 -04:00
tcely
1d153954bc
Try to use invalid values from dumpdata 2025-04-14 19:49:00 -04:00
tcely
cb22eb348d
Additions from the rest container 2025-04-14 18:12:33 -04:00
tcely
debac50ca3
Fix dumpdata output
I want a map of which functions are called,
when they are called,
and from which class they were defined.

These things are still not clear enough for me.
2025-04-14 17:48:37 -04:00
meeb
f4c12f89a2
Merge pull request #963 from tcely/patch-2
Some checks failed
CI / info (push) Has been cancelled
CI / test (3.10) (push) Has been cancelled
CI / test (3.11) (push) Has been cancelled
CI / test (3.12) (push) Has been cancelled
CI / test (3.8) (push) Has been cancelled
CI / test (3.9) (push) Has been cancelled
CI / containerise (push) Has been cancelled
Support `use_chunked_fetch` with `django_queryset_generator`
2025-04-14 23:40:23 +10:00
tcely
873a0167ed
Support use_chunked_fetch 2025-04-14 09:10:15 -04:00
meeb
f3c33e8743
Merge pull request #959 from tcely/patch-2
Some checks are pending
CI / info (push) Waiting to run
CI / test (3.10) (push) Waiting to run
CI / test (3.11) (push) Waiting to run
CI / test (3.12) (push) Waiting to run
CI / test (3.8) (push) Waiting to run
CI / test (3.9) (push) Waiting to run
CI / containerise (push) Blocked by required conditions
Create the `django_queryset_generator` function
2025-04-14 17:32:28 +10:00
tcely
465abe23d0
Use qs_gen in tasks.py 2025-04-13 13:30:26 -04:00
tcely
7c293a0444
Avoid UnorderedObjectListWarning 2025-04-13 12:14:36 -04:00
tcely
cfceae2eb9
fixup: typo 2025-04-13 11:26:27 -04:00
tcely
950cdbd848
Use django_queryset_generator in cleanup_old_media 2025-04-13 11:24:15 -04:00
tcely
29e94427c9
Fill in the django_queryset_generator function 2025-04-13 11:13:32 -04:00
tcely
eb206f9f4d
Sketch for django_queryset_generator function 2025-04-13 10:17:09 -04:00
tcely
7d33cd8579
Merge branch 'main' into patch-3 2025-04-13 08:30:11 -04:00
meeb
15a9537b0e
Merge pull request #957 from tcely/patch-16
Some checks are pending
CI / info (push) Waiting to run
CI / test (3.10) (push) Waiting to run
CI / test (3.11) (push) Waiting to run
CI / test (3.12) (push) Waiting to run
CI / test (3.8) (push) Waiting to run
CI / test (3.9) (push) Waiting to run
CI / containerise (push) Blocked by required conditions
Do not call `resize_image_to_height` on smaller images
2025-04-13 22:29:07 +10:00
meeb
cef5766bcd
Merge pull request #935 from tcely/patch-6
Add file renaming warning to README.md
2025-04-13 22:23:01 +10:00
meeb
8c729d0808
Merge pull request #933 from tcely/patch-2
Adjust queue workers
2025-04-13 22:21:31 +10:00
tcely
22dd86bb06
Merge branch 'main' into patch-2 2025-04-13 08:19:34 -04:00
meeb
4193dd3194
Merge pull request #951 from tcely/patch-10
Create restart_services.sh
2025-04-13 22:09:43 +10:00
meeb
84e99676ca
Merge pull request #954 from tcely/new-tables
New models for metadata and formats
2025-04-13 22:07:30 +10:00
meeb
8868ff62ef
Merge pull request #958 from tcely/patch-17
Fix the `can_download` calculation code
2025-04-13 22:05:41 +10:00
meeb
d34084cca6
Merge pull request #956 from tcely/patch-15
Try `refresh_formats` for `NoFormatException`
2025-04-13 22:05:06 +10:00
meeb
777b763096
Merge pull request #953 from tcely/patch-12
Remove `BACKGROUND_TASK_ASYNC_THREADS` adjustment
2025-04-13 22:04:15 +10:00
meeb
dbd21d913b
Merge pull request #952 from tcely/tcely-readme-upload
Update README.md
2025-04-13 22:03:58 +10:00
meeb
5412c036f2
Merge pull request #861 from tcely/delete-source-reworked
Transactions are tricky for deleting sources
2025-04-13 22:03:29 +10:00
meeb
33ba81eb47
Merge pull request #948 from tcely/tcely-media-servers-make_request
Refactor `make_request`
2025-04-13 22:02:18 +10:00
tcely
8a94efda57
Use django.db.reset_queries() in workers 2025-04-13 07:47:52 -04:00
tcely
8e3bfdd3c4
Don't sleep as long when not using the ThreadPool 2025-04-13 05:39:01 -04:00
tcely
bb42691d62
Remove all use of the query set iterator function
The `sqlite` driver appears to be fundamentally incompatible with the Django query set `iterator` function.

It only works for the first chunk, then it fails any further database operations because the database is already locked.
2025-04-13 05:05:44 -04:00
tcely
3350c0c2e2
fixup: missed mqs => uuid_qs 2025-04-13 04:43:10 -04:00
tcely
fa9446c40e
name property uses title column 2025-04-13 04:32:50 -04:00