改为短id
This commit is contained in:
parent
61d2fe9ef0
commit
2fe953cdad
@ -157,7 +157,7 @@ impl Tool for CronAddTool {
|
||||
let next_run_at = next_run_for_schedule(&schedule, now)
|
||||
.ok_or_else(|| anyhow::anyhow!("could not compute next run time from schedule"))?;
|
||||
|
||||
let id = Uuid::new_v4().to_string();
|
||||
let id = Uuid::new_v4().to_string()[..8].to_string();
|
||||
let job = ScheduledJob {
|
||||
id: id.clone(),
|
||||
name: name.clone(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user