mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 09:39:25 +03:00
Document new auto upload job
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
0bae6fcfb2
commit
f0c771c2e7
1 changed files with 8 additions and 0 deletions
|
@ -44,6 +44,14 @@ import java.io.IOException;
|
|||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/*
|
||||
This job is meant to run periodically every half an hour, and has the following burden on it's shoulders:
|
||||
- looks through all relevant folders and stores files & folders into a database
|
||||
- cleans files from DB that we haven't encountered in a while (TODO)
|
||||
- store newly created files to be uploaded into uploads table (TODO)
|
||||
- initiate uploads from the uploads table (TODO)
|
||||
- restart uploads that have previously failed (TODO
|
||||
*/
|
||||
public class NewAutoUploadJob extends Job {
|
||||
public static final String TAG = "NewAutoUploadJob";
|
||||
|
||||
|
|
Loading…
Reference in a new issue