Browse Source

Merge #803

803: Settle CFDs after 7 days r=da-kami a=bonomat

Only merge before the final release for umbrel. We want to have long running CFDs until we have auto rollover.

Co-authored-by: bonomat <philipp@hoenisch.at>
release/0.3.1
bors[bot] 3 years ago
committed by GitHub
parent
commit
e20def6868
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      daemon/src/lib.rs

2
daemon/src/lib.rs

@ -77,7 +77,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.

Loading…
Cancel
Save