Skip to content

Commit

Permalink
bump
Browse files Browse the repository at this point in the history
  • Loading branch information
ChuckHend committed Aug 10, 2023
1 parent 9321a0e commit 52abb58
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pgmq"
version = "0.11.1"
version = "0.11.2"
edition = "2021"
authors = ["Tembo.io"]
description = "Postgres extension for PGMQ"
Expand Down
2 changes: 1 addition & 1 deletion core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pgmq"
version = "0.14.3"
version = "0.14.4"
edition = "2021"
authors = ["Tembo.io"]
description = "A distributed message queue for Rust applications, on Postgres."
Expand Down
4 changes: 1 addition & 3 deletions core/src/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,7 @@ pub fn enqueue(
check_input(name)?;
let mut values = "".to_owned();
for message in messages.iter() {
let full_msg = format!(
"((now() + interval '{delay} seconds'), '{message}'::json),"
);
let full_msg = format!("((now() + interval '{delay} seconds'), '{message}'::json),");
values.push_str(&full_msg)
}
// drop trailing comma from constructed string
Expand Down

0 comments on commit 52abb58

Please sign in to comment.