Allow more time wrapping to complete synchronously

We're seeing occasional flickers and wondering if this will help.

Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
This commit is contained in:
Nathan Sobo
2021-07-30 09:50:28 -07:00
committed by Max Brunsfeld
co-authored by Max Brunsfeld
parent e7d03af942
commit c306ac007c
+1 -1
View File
@@ -209,7 +209,7 @@ impl WrapMap {
match cx
.background()
.block_with_timeout(Duration::from_micros(500), update_task)
.block_with_timeout(Duration::from_millis(1), update_task)
{
Ok(snapshot) => {
self.snapshot = snapshot;