mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-19 22:29:53 +01:00
Change default timer duration to 7 days.
This commit is contained in:
@@ -6,7 +6,7 @@ import org.briarproject.bramble.api.db.Transaction;
|
|||||||
import org.briarproject.bramble.api.nullsafety.NotNullByDefault;
|
import org.briarproject.bramble.api.nullsafety.NotNullByDefault;
|
||||||
import org.briarproject.bramble.api.sync.ClientId;
|
import org.briarproject.bramble.api.sync.ClientId;
|
||||||
|
|
||||||
import static java.util.concurrent.TimeUnit.MINUTES;
|
import static java.util.concurrent.TimeUnit.DAYS;
|
||||||
|
|
||||||
@NotNullByDefault
|
@NotNullByDefault
|
||||||
public interface AutoDeleteManager {
|
public interface AutoDeleteManager {
|
||||||
@@ -28,9 +28,8 @@ public interface AutoDeleteManager {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* The default auto-delete timer duration.
|
* The default auto-delete timer duration.
|
||||||
* TODO: Change this to one week before release
|
|
||||||
*/
|
*/
|
||||||
long DEFAULT_TIMER_DURATION = MINUTES.toMillis(1);
|
long DEFAULT_TIMER_DURATION = DAYS.toMillis(7);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the auto-delete timer duration for the given contact. Use
|
* Returns the auto-delete timer duration for the given contact. Use
|
||||||
|
|||||||
Reference in New Issue
Block a user