Toqozz / wired-notify

Lightweight notification daemon with highly customizable layout blocks, written in Rust.
MIT License
608 stars 28 forks source link

`idle_poll_interval` doesn't seem to do anything #117

Closed YanDoroshenko closed 11 months ago

YanDoroshenko commented 1 year ago

What it says on the tin - idle_poll_interval doesn't seem to do anything. There's no noticeable difference between 1 and 1000000.

Toqozz commented 1 year ago

That option is used when no windows are present. A higher value should increase the delay between a notification being sent and the server displaying it (when there are no other notifications present). I'm fairly sure it works, but I can take a look.

Toqozz commented 1 year ago

It looks like it doesn't get updated when the config is reloaded though, maybe that's what you're seeing. I'll fix that.

Novaryu commented 11 months ago

Not sure if OP is using master, but I did notice when building wired from the AUR it didn't have idle_poll_interval in the src (config.rs) and thus changing the setting did nothing. However, wired-git (master) did and building that allowed the setting to be changed. It even updates when the config is reloaded from what I've tested.

YanDoroshenko commented 11 months ago

@Novaryu That seemed to indeed be the culprit. Installed wired-git and everything is fine now. Thanks!