Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9697314
D1487.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
D1487.diff
View Options
diff --git a/swh/deposit/signals.py b/swh/deposit/signals.py
--- a/swh/deposit/signals.py
+++ b/swh/deposit/signals.py
@@ -83,9 +83,8 @@
# schedule deposit's checks
from swh.deposit.config import PRIVATE_CHECK_DEPOSIT
check_url = reverse(PRIVATE_CHECK_DEPOSIT, args=args)
- task = create_oneshot_task_dict(
- 'swh-deposit-archive-checks',
- deposit_check_url=check_url)
+ task = create_oneshot_task_dict('check-deposit',
+ deposit_check_url=check_url)
check_task_id = schedule_task(default_config.scheduler, task)
instance.check_task_id = check_task_id
instance.save()
@@ -100,11 +99,10 @@
meta_url = reverse(PRIVATE_GET_DEPOSIT_METADATA, args=args)
update_url = reverse(PRIVATE_PUT_DEPOSIT, args=args)
- task = create_oneshot_task_dict(
- 'swh-deposit-archive-loading',
- archive_url=archive_url,
- deposit_meta_url=meta_url,
- deposit_update_url=update_url)
+ task = create_oneshot_task_dict('load-deposit',
+ archive_url=archive_url,
+ deposit_meta_url=meta_url,
+ deposit_update_url=update_url)
load_task_id = schedule_task(default_config.scheduler, task)
instance.load_task_id = load_task_id
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Aug 17, 11:24 PM (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3220867
Attached To
D1487: Update scheduler task names to new ones
Event Timeline
Log In to Comment