Skip to content

Commit

Permalink
πŸ“ change type exptime for binary
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtemIsmagilov committed Oct 5, 2024
1 parent cbda054 commit 121804e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/protocol/binary.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ impl ProtocolTrait for BinaryProtocol {
binary_packet::parse_cas_response(&mut self.stream)
}

fn set<V: ToMemcacheValue<Stream>>(&mut self, key: &str, value: V, expiration: u32) -> Result<(), MemcacheError> {
fn set<V: ToMemcacheValue<Stream>>(&mut self, key: &str, value: V, exptime: i64) -> Result<(), MemcacheError> {
return self.store(Opcode::Set, key, value, expiration, None);

Check failure on line 117 in src/protocol/binary.rs

View workflow job for this annotation

GitHub Actions / ci (nightly)

cannot find value `expiration` in this scope
}

Expand Down

0 comments on commit 121804e

Please sign in to comment.