mirror of
https://github.com/zadam/trilium.git
synced 2025-01-16 20:21:43 +08:00
task context progress fixes
This commit is contained in:
parent
2150619d62
commit
3b8b4da149
1 changed files with 2 additions and 2 deletions
|
@ -12,8 +12,8 @@ class TaskContext {
|
||||||
this.data = data;
|
this.data = data;
|
||||||
|
|
||||||
// progressCount is meant to represent just some progress - to indicate the task is not stuck
|
// progressCount is meant to represent just some progress - to indicate the task is not stuck
|
||||||
this.progressCount = 0;
|
this.progressCount = -1; // we're incrementing immediatelly
|
||||||
this.lastSentCountTs = Date.now();
|
this.lastSentCountTs = 0; // 0 will guarantee first message will be sent
|
||||||
|
|
||||||
// just the fact this has been initialized is a progress which should be sent to clients
|
// just the fact this has been initialized is a progress which should be sent to clients
|
||||||
// this is esp. important when importing big files/images which take long time to upload/process
|
// this is esp. important when importing big files/images which take long time to upload/process
|
||||||
|
|
Loading…
Reference in a new issue