mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
chore(gateway): update redis.hset for Rust 2024
https://github.com/rust-lang/rust/issues/123748
This commit is contained in:
parent
e4f04b5bd5
commit
7edc432e0f
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ impl ShardStateManager {
|
|||
|
||||
async fn save_shard(&self, shard_id: u32, info: ShardState) -> anyhow::Result<()> {
|
||||
self.redis
|
||||
.hset(
|
||||
.hset::<(), &str, (String, Bytes)>(
|
||||
"pluralkit:shardstatus",
|
||||
(
|
||||
shard_id.to_string(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue