Default init number of days to keep

This commit is contained in:
M66B 2019-06-12 14:45:21 +02:00
parent 5a2a330574
commit 1f07ecc025
1 changed files with 1 additions and 2 deletions

View File

@ -153,7 +153,6 @@ public class EntityFolder extends EntityOrder implements Serializable {
USER
));
static final int DEFAULT_INIT = 14; // days
static final int DEFAULT_SYNC = 7; // days
static final int DEFAULT_KEEP = 30; // days
@ -190,7 +189,7 @@ public class EntityFolder extends EntityOrder implements Serializable {
}
JSONArray jargs = new JSONArray();
jargs.put(initialize ? Math.min(DEFAULT_INIT, keep_days) : days);
jargs.put(initialize ? keep_days : days);
jargs.put(keep_days);
jargs.put(download);
jargs.put(auto_delete);