Skip to content
Snippets Groups Projects
Commit 73d36086 authored by Nico Vermaas's avatar Nico Vermaas
Browse files

remove the automated hold on 'scrubbed' (request from SDCO)

parent 97b5e263
No related branches found
No related tags found
1 merge request!350SDC-1313 ancillary dataproducts to dcache (ATDB side)
......@@ -210,9 +210,10 @@ class Task(models.Model):
def save(self, *args, **kwargs):
# nv:1mar2023, temporary hack, set tasks 'on hold' as soon they get to 'scrubbed'
# (users forget to do that manually, causing unwanted ingests)
# nv:8apr2024, SDO asked for this hack to be removed again.
if (self.status != State.SCRUBBED.value) & (self.new_status == State.SCRUBBED.value):
self.resume = False
# if (self.status != State.SCRUBBED.value) & (self.new_status == State.SCRUBBED.value):
# self.resume = False
# nv:19jun2023, calculate the qualities for this task
if (self.status != State.STORED.value) & (self.new_status == State.STORED.value):
......
......@@ -31,7 +31,7 @@
{% include 'taskdatabase/pagination.html' %}
</div>
</div>
<p class="footer"> Version 11 Apr 2024
<p class="footer"> Version 15 Apr 2024
</div>
{% include 'taskdatabase/refresh.html' %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment