dj-queue 0.7.0__tar.gz → 0.7.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. {dj_queue-0.7.0 → dj_queue-0.7.1}/PKG-INFO +1 -1
  2. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/migrations/0008_remove_blockedexecution_dj_queue_bl_concurr_1ce730_idx_and_more.py +10 -14
  3. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/models/jobs.py +10 -12
  4. {dj_queue-0.7.0 → dj_queue-0.7.1}/pyproject.toml +1 -1
  5. {dj_queue-0.7.0 → dj_queue-0.7.1}/LICENSE +0 -0
  6. {dj_queue-0.7.0 → dj_queue-0.7.1}/README.md +0 -0
  7. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/__init__.py +0 -0
  8. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/admin.py +0 -0
  9. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/api.py +0 -0
  10. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/apps.py +0 -0
  11. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/backend.py +0 -0
  12. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/config.py +0 -0
  13. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/contrib/__init__.py +0 -0
  14. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/contrib/asgi.py +0 -0
  15. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/contrib/gunicorn.py +0 -0
  16. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/contrib/prometheus.py +0 -0
  17. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/dashboard.py +0 -0
  18. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/db.py +0 -0
  19. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/exceptions.py +0 -0
  20. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/hooks.py +0 -0
  21. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/log.py +0 -0
  22. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/management/__init__.py +0 -0
  23. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/management/commands/__init__.py +0 -0
  24. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/management/commands/dj_queue.py +0 -0
  25. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/management/commands/dj_queue_health.py +0 -0
  26. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/management/commands/dj_queue_prune.py +0 -0
  27. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/migrations/0001_initial.py +0 -0
  28. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/migrations/0002_pause_semaphore.py +0 -0
  29. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/migrations/0003_recurringtask_recurringexecution.py +0 -0
  30. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/migrations/0004_dashboard.py +0 -0
  31. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/migrations/0005_remove_recurringexecution_dj_queue_recurring_executions_task_key_run_at_unique_and_more.py +0 -0
  32. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/migrations/0006_blockedexecution_dj_queue_bl_concurr_2d8393_idx_and_more.py +0 -0
  33. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/migrations/0007_recurringtask_next_run_at.py +0 -0
  34. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/migrations/__init__.py +0 -0
  35. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/models/__init__.py +0 -0
  36. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/models/recurring.py +0 -0
  37. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/models/runtime.py +0 -0
  38. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/observability.py +0 -0
  39. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/operations/__init__.py +0 -0
  40. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/operations/_insert.py +0 -0
  41. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/operations/cleanup.py +0 -0
  42. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/operations/concurrency.py +0 -0
  43. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/operations/jobs.py +0 -0
  44. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/operations/queues.py +0 -0
  45. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/operations/recurring.py +0 -0
  46. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/routers.py +0 -0
  47. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/runtime/__init__.py +0 -0
  48. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/runtime/base.py +0 -0
  49. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/runtime/connection_budget.py +0 -0
  50. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/runtime/dispatcher.py +0 -0
  51. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/runtime/errors.py +0 -0
  52. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/runtime/interruptible.py +0 -0
  53. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/runtime/notify.py +0 -0
  54. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/runtime/pidfile.py +0 -0
  55. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/runtime/pool.py +0 -0
  56. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/runtime/procline.py +0 -0
  57. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/runtime/scheduler.py +0 -0
  58. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/runtime/supervisor.py +0 -0
  59. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/runtime/worker.py +0 -0
  60. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/templates/admin/dj_queue/_dashboard_process_rows.html +0 -0
  61. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/templates/admin/dj_queue/_dashboard_recurring_rows.html +0 -0
  62. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/templates/admin/dj_queue/_dashboard_section_table.html +0 -0
  63. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/templates/admin/dj_queue/_dashboard_semaphore_rows.html +0 -0
  64. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/templates/admin/dj_queue/_paginator.html +0 -0
  65. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/templates/admin/dj_queue/_queue_controls.html +0 -0
  66. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/templates/admin/dj_queue/_sortable_header_cells.html +0 -0
  67. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/templates/admin/dj_queue/change_form.html +0 -0
  68. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/templates/admin/dj_queue/change_list.html +0 -0
  69. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/templates/admin/dj_queue/dashboard.html +0 -0
  70. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/templates/admin/dj_queue/includes/fieldset.html +0 -0
  71. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/templates/admin/dj_queue/queue_jobs.html +0 -0
  72. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/templatetags/__init__.py +0 -0
  73. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/templatetags/dj_queue_admin.py +0 -0
  74. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/urls.py +0 -0
  75. {dj_queue-0.7.0 → dj_queue-0.7.1}/dj_queue/views.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dj-queue
3
- Version: 0.7.0
3
+ Version: 0.7.1
4
4
  Summary: Database-backed task queue backend for Django’s Tasks framework.
5
5
  License-Expression: MIT
6
6
  License-File: LICENSE
@@ -98,68 +98,64 @@ class Migration(migrations.Migration):
98
98
  model_name="blockedexecution",
99
99
  index=models.Index(
100
100
  fields=["backend_alias", "concurrency_key", "priority", "id"],
101
- name="dj_queue_bl_backend_conc_idx",
101
+ name="djq_bl_b_conc_idx",
102
102
  ),
103
103
  ),
104
104
  migrations.AddIndex(
105
105
  model_name="blockedexecution",
106
106
  index=models.Index(
107
107
  fields=["backend_alias", "expires_at", "concurrency_key"],
108
- name="dj_queue_bl_backend_exp_conc_idx",
108
+ name="djq_bl_b_exp_conc_idx",
109
109
  ),
110
110
  ),
111
111
  migrations.AddIndex(
112
112
  model_name="blockedexecution",
113
113
  index=models.Index(
114
114
  fields=["backend_alias", "concurrency_key", "-priority", "id"],
115
- name="dj_queue_bl_backend_conc_desc_idx",
115
+ name="djq_bl_b_conc_d_idx",
116
116
  ),
117
117
  ),
118
118
  migrations.AddIndex(
119
119
  model_name="blockedexecution",
120
120
  index=models.Index(
121
121
  fields=["backend_alias", "expires_at", "-priority", "id"],
122
- name="dj_queue_bl_backend_exp_desc_idx",
122
+ name="djq_bl_b_exp_d_idx",
123
123
  ),
124
124
  ),
125
125
  migrations.AddIndex(
126
126
  model_name="readyexecution",
127
- index=models.Index(
128
- fields=["backend_alias", "priority", "id"], name="dj_queue_re_backend_prio_idx"
129
- ),
127
+ index=models.Index(fields=["backend_alias", "priority", "id"], name="djq_re_b_prio_idx"),
130
128
  ),
131
129
  migrations.AddIndex(
132
130
  model_name="readyexecution",
133
131
  index=models.Index(
134
132
  fields=["backend_alias", "queue_name", "priority", "id"],
135
- name="dj_queue_re_backend_queue_idx",
133
+ name="djq_re_b_queue_idx",
136
134
  ),
137
135
  ),
138
136
  migrations.AddIndex(
139
137
  model_name="readyexecution",
140
- index=models.Index(
141
- fields=["backend_alias", "-priority", "id"], name="dj_queue_re_backend_prio_desc_idx"
142
- ),
138
+ index=models.Index(fields=["backend_alias", "-priority", "id"], name="djq_re_b_prio_d_idx"),
143
139
  ),
144
140
  migrations.AddIndex(
145
141
  model_name="readyexecution",
146
142
  index=models.Index(
147
143
  fields=["backend_alias", "queue_name", "-priority", "id"],
148
- name="dj_queue_re_backend_queue_desc_idx",
144
+ name="djq_re_b_queue_d_idx",
149
145
  ),
150
146
  ),
151
147
  migrations.AddIndex(
152
148
  model_name="scheduledexecution",
153
149
  index=models.Index(
154
150
  fields=["backend_alias", "scheduled_at", "priority", "id"],
155
- name="dj_queue_se_backend_due_idx",
151
+ name="djq_se_b_due_idx",
156
152
  ),
157
153
  ),
158
154
  migrations.AddIndex(
159
155
  model_name="scheduledexecution",
160
156
  index=models.Index(
161
157
  fields=["backend_alias", "scheduled_at", "-priority", "id"],
162
- name="dj_queue_se_backend_due_desc_idx",
158
+ name="djq_se_b_due_d_idx",
163
159
  ),
164
160
  ),
165
161
  ]
@@ -125,20 +125,18 @@ class ReadyExecution(models.Model):
125
125
  class Meta:
126
126
  db_table = "dj_queue_ready_executions"
127
127
  indexes = [
128
- models.Index(
129
- fields=["backend_alias", "priority", "id"], name="dj_queue_re_backend_prio_idx"
130
- ),
128
+ models.Index(fields=["backend_alias", "priority", "id"], name="djq_re_b_prio_idx"),
131
129
  models.Index(
132
130
  fields=["backend_alias", "queue_name", "priority", "id"],
133
- name="dj_queue_re_backend_queue_idx",
131
+ name="djq_re_b_queue_idx",
134
132
  ),
135
133
  models.Index(
136
134
  fields=["backend_alias", "-priority", "id"],
137
- name="dj_queue_re_backend_prio_desc_idx",
135
+ name="djq_re_b_prio_d_idx",
138
136
  ),
139
137
  models.Index(
140
138
  fields=["backend_alias", "queue_name", "-priority", "id"],
141
- name="dj_queue_re_backend_queue_desc_idx",
139
+ name="djq_re_b_queue_d_idx",
142
140
  ),
143
141
  ]
144
142
 
@@ -170,11 +168,11 @@ class ScheduledExecution(models.Model):
170
168
  indexes = [
171
169
  models.Index(
172
170
  fields=["backend_alias", "scheduled_at", "priority", "id"],
173
- name="dj_queue_se_backend_due_idx",
171
+ name="djq_se_b_due_idx",
174
172
  ),
175
173
  models.Index(
176
174
  fields=["backend_alias", "scheduled_at", "-priority", "id"],
177
- name="dj_queue_se_backend_due_desc_idx",
175
+ name="djq_se_b_due_d_idx",
178
176
  ),
179
177
  ]
180
178
 
@@ -221,19 +219,19 @@ class BlockedExecution(models.Model):
221
219
  indexes = [
222
220
  models.Index(
223
221
  fields=["backend_alias", "concurrency_key", "priority", "id"],
224
- name="dj_queue_bl_backend_conc_idx",
222
+ name="djq_bl_b_conc_idx",
225
223
  ),
226
224
  models.Index(
227
225
  fields=["backend_alias", "expires_at", "concurrency_key"],
228
- name="dj_queue_bl_backend_exp_conc_idx",
226
+ name="djq_bl_b_exp_conc_idx",
229
227
  ),
230
228
  models.Index(
231
229
  fields=["backend_alias", "concurrency_key", "-priority", "id"],
232
- name="dj_queue_bl_backend_conc_desc_idx",
230
+ name="djq_bl_b_conc_d_idx",
233
231
  ),
234
232
  models.Index(
235
233
  fields=["backend_alias", "expires_at", "-priority", "id"],
236
- name="dj_queue_bl_backend_exp_desc_idx",
234
+ name="djq_bl_b_exp_d_idx",
237
235
  ),
238
236
  ]
239
237
 
@@ -4,7 +4,7 @@ build-backend = "uv_build"
4
4
 
5
5
  [project]
6
6
  name = "dj-queue"
7
- version = "0.7.0"
7
+ version = "0.7.1"
8
8
  description = "Database-backed task queue backend for Django’s Tasks framework."
9
9
  readme = "README.md"
10
10
  license = "MIT"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes