Made long running tasks cancellable. Added cancel button to cancellable tasks in the task list. Added APP_MODE env variable for determining if the app is running in development, test, or production.
This commit is contained in:
@@ -234,3 +234,7 @@ class TaskConvert(CalibreTask):
|
||||
@property
|
||||
def name(self):
|
||||
return "Convert"
|
||||
|
||||
@property
|
||||
def is_cancellable(self):
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user