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
@ -38,7 +38,7 @@ const log = std.log.scoped(.layout);
|
||||
|
||||
const Error = error{ViewDimensionMismatch};
|
||||
|
||||
const timeout_ms = 1000;
|
||||
const timeout_ms = 100;
|
||||
|
||||
serial: u32,
|
||||
/// Number of views for which dimensions have not been pushed.
|
||||
|
Loading…
Reference in New Issue
Block a user