Progress Bar : use GET , which is faster than POST, use 2 decimal in progress because if the step is < 1 , it doesn't work
This commit is contained in:
parent
83404ed02e
commit
40cbb89f93
4 changed files with 7 additions and 3 deletions
|
|
@ -67,6 +67,7 @@ class Progress_Bar
|
|||
$this->value=0;
|
||||
$this->db->exec_sql("insert into progress(p_id,p_value) values ($1,0)",
|
||||
[$p_task_id]);
|
||||
$this->db->exec_sql("delete from progress where p_created < now() - interval '3 hours' ");
|
||||
}
|
||||
}
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue