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:
@@ -16,3 +16,7 @@ class TaskUpload(CalibreTask):
|
||||
@property
|
||||
def name(self):
|
||||
return "Upload"
|
||||
|
||||
@property
|
||||
def is_cancellable(self):
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user