Skip to main content

DEFAULT_POLL_SECONDS

Constant DEFAULT_POLL_SECONDS 

Source
pub const DEFAULT_POLL_SECONDS: u64 = 5;
Expand description

Sweep interval a workspace gets when it names none. Slack’s API allowance is per workspace, and the DM class costs one history call per DM conversation it covers, so a workspace with a large inbox wants its own poll_seconds.