mirror of
https://github.com/Diggsey/sqlxmq.git
synced 2024-11-22 00:01:00 +00:00
Fix copy-paste error in job macro
This commit is contained in:
parent
fc4e909d24
commit
ec9d2bae2e
3 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "sqlxmq"
|
name = "sqlxmq"
|
||||||
version = "0.2.0"
|
version = "0.2.1"
|
||||||
authors = ["Diggory Blake <diggsey@googlemail.com>"]
|
authors = ["Diggory Blake <diggsey@googlemail.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
|
@ -23,7 +23,7 @@ uuid = { version = "0.8.2", features = ["v4"] }
|
||||||
log = "0.4.14"
|
log = "0.4.14"
|
||||||
serde_json = "1.0.64"
|
serde_json = "1.0.64"
|
||||||
serde = "1.0.124"
|
serde = "1.0.124"
|
||||||
sqlxmq_macros = { version = "0.2.0", path = "sqlxmq_macros" }
|
sqlxmq_macros = { version = "0.2.1", path = "sqlxmq_macros" }
|
||||||
anymap2 = "0.13.0"
|
anymap2 = "0.13.0"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "sqlxmq_macros"
|
name = "sqlxmq_macros"
|
||||||
version = "0.2.0"
|
version = "0.2.1"
|
||||||
authors = ["Diggory Blake <diggsey@googlemail.com>"]
|
authors = ["Diggory Blake <diggsey@googlemail.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
|
|
|
@ -63,7 +63,7 @@ fn interpret_job_arg(options: &mut JobOptions, arg: NestedMeta) -> Result<()> {
|
||||||
options.channel_name = Some(s.value());
|
options.channel_name = Some(s.value());
|
||||||
}
|
}
|
||||||
("retries", OptionValue::Lit(Lit::Int(n))) if options.retries.is_none() => {
|
("retries", OptionValue::Lit(Lit::Int(n))) if options.retries.is_none() => {
|
||||||
options.name = Some(n.base10_parse()?);
|
options.retries = Some(n.base10_parse()?);
|
||||||
}
|
}
|
||||||
("backoff_secs", OptionValue::Lit(Lit::Float(n)))
|
("backoff_secs", OptionValue::Lit(Lit::Float(n)))
|
||||||
if options.backoff_secs.is_none() =>
|
if options.backoff_secs.is_none() =>
|
||||||
|
|
Loading…
Reference in a new issue