mirror of
https://github.com/icewind1991/notify-redis.git
synced 2026-06-03 18:24:12 +02:00
bumb dependencies
This commit is contained in:
parent
f6e341a637
commit
7430db6c5b
5 changed files with 758 additions and 326 deletions
|
|
@ -28,7 +28,7 @@ impl EventList {
|
|||
}
|
||||
|
||||
fn next(&mut self) -> Option<Event> {
|
||||
let raw: Option<String> = self.redis.rpop(&self.list).unwrap();
|
||||
let raw: Option<String> = self.redis.rpop(&self.list, None).unwrap();
|
||||
raw.map(|raw| serde_json::from_str(&raw).unwrap())
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue