mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 07:27:15 +08:00
refactor(transfer): make queue admission durable
This commit is contained in:
+15
-4
@@ -1441,8 +1441,8 @@
|
||||
"runtime_only": true
|
||||
}
|
||||
},
|
||||
"edge_count": 6817,
|
||||
"edge_sha256": "e3d43fec9f7bc936ef5a2ffe7ba11ea054d1ba7d1c42e7101978480cd99a63fe",
|
||||
"edge_count": 6827,
|
||||
"edge_sha256": "34e2be621e40f0f07ff04065655446c4ad0062883701f9e1e2235c29359900f7",
|
||||
"edges": [
|
||||
"app -> app.runtime",
|
||||
"app -> app.runtime.compat",
|
||||
@@ -3973,6 +3973,8 @@
|
||||
"app.application.chain.context -> app.application.configuration",
|
||||
"app.application.chain.context -> app.runtime",
|
||||
"app.application.chain.context -> app.runtime.stop",
|
||||
"app.application.chain.data -> app.application",
|
||||
"app.application.chain.data -> app.application.transfer",
|
||||
"app.application.chain.durable_events -> app.application",
|
||||
"app.application.chain.durable_events -> app.application.history",
|
||||
"app.application.chain.durable_events -> app.domain",
|
||||
@@ -5141,6 +5143,14 @@
|
||||
"app.db.adapters.subscription -> app.db.uow",
|
||||
"app.db.adapters.transaction -> app.db",
|
||||
"app.db.adapters.transaction -> app.db.uow",
|
||||
"app.db.adapters.transfer -> app.application",
|
||||
"app.db.adapters.transfer -> app.application.transfer",
|
||||
"app.db.adapters.transfer -> app.db",
|
||||
"app.db.adapters.transfer -> app.db.models",
|
||||
"app.db.adapters.transfer -> app.db.models.transferpending",
|
||||
"app.db.adapters.transfer -> app.db.oper",
|
||||
"app.db.adapters.transfer -> app.db.oper.transferpending",
|
||||
"app.db.adapters.transfer -> app.db.uow",
|
||||
"app.db.adapters.workflow -> app.application",
|
||||
"app.db.adapters.workflow -> app.application.workflow",
|
||||
"app.db.adapters.workflow -> app.db",
|
||||
@@ -7905,6 +7915,7 @@
|
||||
"app.startup.initializers.modules -> app.db.adapters.site",
|
||||
"app.startup.initializers.modules -> app.db.adapters.subscription",
|
||||
"app.startup.initializers.modules -> app.db.adapters.transaction",
|
||||
"app.startup.initializers.modules -> app.db.adapters.transfer",
|
||||
"app.startup.initializers.modules -> app.db.adapters.workflow",
|
||||
"app.startup.initializers.modules -> app.db.oper",
|
||||
"app.startup.initializers.modules -> app.db.oper.agentchat",
|
||||
@@ -7919,7 +7930,6 @@
|
||||
"app.startup.initializers.modules -> app.db.oper.subscribehistory",
|
||||
"app.startup.initializers.modules -> app.db.oper.systemconfig",
|
||||
"app.startup.initializers.modules -> app.db.oper.transferhistory",
|
||||
"app.startup.initializers.modules -> app.db.oper.transferpending",
|
||||
"app.startup.initializers.modules -> app.db.oper.user",
|
||||
"app.startup.initializers.modules -> app.db.oper.userconfig",
|
||||
"app.startup.initializers.modules -> app.db.oper.workflow",
|
||||
@@ -8262,7 +8272,7 @@
|
||||
"app.workflow.actions.transfer_file -> app.workflow",
|
||||
"app.workflow.actions.transfer_file -> app.workflow.actions"
|
||||
],
|
||||
"module_count": 835,
|
||||
"module_count": 836,
|
||||
"modules": [
|
||||
"app",
|
||||
"app.adapters",
|
||||
@@ -8660,6 +8670,7 @@
|
||||
"app.db.adapters.site",
|
||||
"app.db.adapters.subscription",
|
||||
"app.db.adapters.transaction",
|
||||
"app.db.adapters.transfer",
|
||||
"app.db.adapters.workflow",
|
||||
"app.db.base",
|
||||
"app.db.decorators",
|
||||
|
||||
+1
-4
@@ -1595,7 +1595,7 @@
|
||||
"no-any-return": 3,
|
||||
"no-redef": 2,
|
||||
"no-untyped-call": 8,
|
||||
"no-untyped-def": 16,
|
||||
"no-untyped-def": 15,
|
||||
"operator": 3,
|
||||
"return-value": 2,
|
||||
"truthy-function": 5,
|
||||
@@ -1704,9 +1704,6 @@
|
||||
"no-untyped-def": 20,
|
||||
"type-arg": 1
|
||||
},
|
||||
"app/db/models/transferpending.py": {
|
||||
"no-any-return": 1
|
||||
},
|
||||
"app/db/models/user.py": {
|
||||
"no-untyped-def": 10
|
||||
},
|
||||
|
||||
-15
@@ -401,9 +401,6 @@
|
||||
"app/application/torrent_cache.py": {
|
||||
"I001": 1
|
||||
},
|
||||
"app/application/transfer.py": {
|
||||
"I001": 1
|
||||
},
|
||||
"app/application/workflow.py": {
|
||||
"I001": 1
|
||||
},
|
||||
@@ -1450,9 +1447,6 @@
|
||||
"tests/test_interaction_router.py": {
|
||||
"E402": 5
|
||||
},
|
||||
"tests/test_legacy_import_compat.py": {
|
||||
"I001": 1
|
||||
},
|
||||
"tests/test_lifecycle_shutdown.py": {
|
||||
"F841": 1
|
||||
},
|
||||
@@ -1873,18 +1867,12 @@
|
||||
"tests/test_transfer_movie_collection.py": {
|
||||
"I001": 1
|
||||
},
|
||||
"tests/test_transfer_pending_replay.py": {
|
||||
"I001": 1
|
||||
},
|
||||
"tests/test_transfer_preview.py": {
|
||||
"I001": 1
|
||||
},
|
||||
"tests/test_transfer_queue_count.py": {
|
||||
"I001": 1
|
||||
},
|
||||
"tests/test_transfer_queue_service.py": {
|
||||
"I001": 1
|
||||
},
|
||||
"tests/test_transfer_rename_build_event.py": {
|
||||
"I001": 1
|
||||
},
|
||||
@@ -1894,9 +1882,6 @@
|
||||
"tests/test_transfer_tmdb_category.py": {
|
||||
"I001": 1
|
||||
},
|
||||
"tests/test_transfer_worker_lifecycle.py": {
|
||||
"I001": 1
|
||||
},
|
||||
"tests/test_transferhistory_media_source_migration.py": {
|
||||
"I001": 1
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user