mirror of
https://github.com/chatmail/core.git
synced 2026-05-07 17:06:35 +03:00
Do not panic on SystemTimeDifference
This commit is contained in:
committed by
holger krekel
parent
697cc0a79b
commit
8d3e536582
@@ -241,7 +241,7 @@ impl Imap {
|
|||||||
"IMAP-fake-IDLE done after {:.4}s",
|
"IMAP-fake-IDLE done after {:.4}s",
|
||||||
SystemTime::now()
|
SystemTime::now()
|
||||||
.duration_since(fake_idle_start_time)
|
.duration_since(fake_idle_start_time)
|
||||||
.unwrap()
|
.unwrap_or_default()
|
||||||
.as_millis() as f64
|
.as_millis() as f64
|
||||||
/ 1000.,
|
/ 1000.,
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user