config_duration_overflow

Diagnostic `nanook::config::duration_overflow`

Summary

duration `{0}` overflowed u64 seconds

Help

use a smaller value; durations are stored as u64 seconds

Details

When this fires

A duration value, after multiplying by its unit, didn't fit in u64 seconds (see Duration in crates/nanook-core/src/duration.rs, which stores the total as u64 seconds). You essentially asked for something on the order of hundreds of billions of years, so this is almost always a copy-paste mistake or a runaway computed value from env interpolation.

What to check

Even 100000d is over 273 years, so genuine overflow needs absurd input. Look for accidentally concatenated digits, like a token getting glued onto a duration field.

# bad (overflow territory)
cooldown = "99999999999999999999s"
# good
cooldown = "1h"