Skip to content

Commit 861ee10

Browse files
committed
Fix panic
Signed-off-by: Asriel Camora <asriel@camora.dev>
1 parent 9198d90 commit 861ee10

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

web/src/crons/update_stasis.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ impl UpdateStasis {
2929
pub async fn new(config: StasisConfig) -> anyhow::Result<Self> {
3030
let server = ServerBuilder::default()
3131
.clut_ram_capacity(32)
32-
.slug_update_interval_secs(u64::MAX) // Disable internal slug updates
32+
.slug_update_interval_secs(u32::MAX.into()) // Disable internal slug updates
3333
.ram_entry_capacity(1024 * 1024) // 1 million entries
3434
.storage_capacity_bytes(
3535
1024 * 1024, // 1 GiB

0 commit comments

Comments
 (0)