Project

Profile

Help

Refactor #2075

closed

Use tasks.register_sigterm_handler() for the resource manager locking mechanism instead of a custom context manager

Added by dalley over 7 years ago. Updated almost 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Easy Fix, Pulp 2
Sprint:
Quarter:

Description

using tasks.register_sigterm_handler() to decorate the get_resource_manager_lock() function would accomplish the same thing as the custom context manager but in a more DRY way

Actions #1

Updated by bmbouter over 7 years ago

A link to the code of interest would be good. Other developers may not have enough familiarity to contribute with the existing description.

Actions #2

Updated by dalley about 7 years ago

  • Status changed from NEW to CLOSED - WONTFIX

No longer applicable

Actions #3

Updated by bmbouter almost 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF