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
Copy file name to clipboardExpand all lines: src/blocks.rs
+37-5Lines changed: 37 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,7 @@
12
12
//! `error_format` | Overrides global `error_format` | None
13
13
//! `error_fullscreen_format` | Overrides global `error_fullscreen_format` | None
14
14
//! `error_interval` | How long to wait until restarting the block after an error occurred. | `5`
15
+
//! `max_retries` | How many times should a block be restarted the block after an error occurred. If no limit is specified none will be enforced. | `None`
15
16
//! `[block.theme_overrides]` | Same as the top-level config option, but for this block only. Refer to `Themes and Icons` below. | None
16
17
//! `[block.icons_overrides]` | Same as the top-level config option, but for this block only. Refer to `Themes and Icons` below. | None
17
18
//! `[[block.click]]` | Set or override click action for the block. See below for details. | Block default / None
@@ -44,6 +45,8 @@ use crate::geolocator::{Geolocator, IPAddressInfo};
0 commit comments