Decrease layout demand timeout to 100ms
Layout generators are generally pretty fast. The timeout is only reached when the generator is faulty / stuck. In that case, freezing for 1 second is simply bad UX.
This commit is contained in:
parent
5b8eab569c
commit
196c52885f
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ const log = std.log.scoped(.layout);
|
||||||
|
|
||||||
const Error = error{ViewDimensionMismatch};
|
const Error = error{ViewDimensionMismatch};
|
||||||
|
|
||||||
const timeout_ms = 1000;
|
const timeout_ms = 100;
|
||||||
|
|
||||||
serial: u32,
|
serial: u32,
|
||||||
/// Number of views for which dimensions have not been pushed.
|
/// Number of views for which dimensions have not been pushed.
|
||||||
|
|
Loading…
Reference in a new issue