mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-02-21 01:21:21 +00:00
Fix clippy warning.
This commit is contained in:
parent
a53a90b646
commit
ffa8aa9518
@ -236,7 +236,7 @@ async fn message_callback(region_name: &str, region_common_name: CommonName, msg
|
||||
let b = msg.payload();
|
||||
|
||||
let mut hasher = DefaultHasher::new();
|
||||
hasher.write(&b);
|
||||
hasher.write(b);
|
||||
let key = redis_key(format!("gw:mqtt:lock:{:x}", hasher.finish()));
|
||||
let locked = is_locked(key).await;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user