From be8aa0c6ec49d255674a6f7ee2d0c05b188e544c Mon Sep 17 00:00:00 2001 From: bonomat Date: Mon, 6 Dec 2021 11:01:53 +1100 Subject: [PATCH] Settle CFDs after 7 days --- daemon/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/src/lib.rs b/daemon/src/lib.rs index 57e7e22..2ad1369 100644 --- a/daemon/src/lib.rs +++ b/daemon/src/lib.rs @@ -75,7 +75,7 @@ pub const N_PAYOUTS: usize = 200; /// - How the oracle event id is chosen when creating an order (maker) /// - The sliding window of cached oracle announcements (maker, taker) /// - The auto-rollover time-window (taker) -pub const SETTLEMENT_INTERVAL: time::Duration = time::Duration::hours(2); +pub const SETTLEMENT_INTERVAL: time::Duration = time::Duration::days(7); /// Struct controlling the lifetime of the async tasks, /// such as running actors and periodic notifications.