At the end of an upload or download task, the app task hangs at 99% for a while. When a large task has been completed, it can hang for several minutes. We should really find a solution to optimize this behavior.
What is the app actually doing when the task is at 99% and wait for completion? (it seems that the file is already uploaded downloaded at this point)
What could we do to reduce this time?
Karim Alabtakh on March 21, 2019:
first of all we need to determent is it hung of the main task or sub tasks (downloading/ uploading files) some improvements were done to download progress info, so please recheck it.
"What is the app actually doing when the task is at 99%" 99% mean that some of files is not fully downloaded or uploaded so I guess the client wait for server response. but actually it maybe will hung a little bit on 100% when all sub tasks are completed to get info about linked packs/collections and cache it. btw, it should not take several minutes.
Pierre henri Seylan on April 3, 2019:
The probelm occurs mainly when doing uploads. While the main task displays 99%, you can see that the actual task on the detail popup shows 100% It hangs at this status for a while.
it seems that this is the step of registering the files to the server or something similar. Let's what we can do to improve that
Comments
Pierre henri Seylan on March 6, 2019:
When a large task has been completed, it can hang for several minutes.
We should really find a solution to optimize this behavior.
Karim Alabtakh on March 21, 2019:
some improvements were done to download progress info, so please recheck it.
"What is the app actually doing when the task is at 99%"
99% mean that some of files is not fully downloaded or uploaded so I guess the client wait for server response.
but actually it maybe will hung a little bit on 100% when all sub tasks are completed to get info about linked packs/collections and cache it.
btw, it should not take several minutes.
Pierre henri Seylan on April 3, 2019:
While the main task displays 99%, you can see that the actual task on the detail popup shows 100%
It hangs at this status for a while.
it seems that this is the step of registering the files to the server or something similar.
Let's what we can do to improve that