You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently all default config duration values are defined in u64 and are treated as if they were milliseconds. This could be made more explicit now that Duration can be constructed in compile time. So instead of const DEFAULT_MESSAGE_STREAM_AVERAGE_DELAY: u64 = 500;
we could have: const DEFAULT_MESSAGE_STREAM_AVERAGE_DELAY: Duration = Duration::from_millis(500);
The text was updated successfully, but these errors were encountered:
Currently all default config duration values are defined in
u64
and are treated as if they were milliseconds. This could be made more explicit now thatDuration
can be constructed in compile time. So instead ofconst DEFAULT_MESSAGE_STREAM_AVERAGE_DELAY: u64 = 500;
we could have:
const DEFAULT_MESSAGE_STREAM_AVERAGE_DELAY: Duration = Duration::from_millis(500);
The text was updated successfully, but these errors were encountered: