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-29 14:13:28 -06:00 committed by Max Brunsfeld
parent e7d03af942
commit c306ac007c

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;