mirror of https://github.com/itflow-org/itflow
Set Sleep from 2 secs to 1 sec after updates Initially this was to fix database update not showing up after update. The Time limit of 2 secs seemed to fix the issue but we will try 1 sec
This commit is contained in:
parent
23dd49eabf
commit
11501d8e0b
4
post.php
4
post.php
|
|
@ -1750,7 +1750,7 @@ if(isset($_GET['update'])){
|
|||
|
||||
$_SESSION['alert_message'] = "Update successful";
|
||||
|
||||
sleep(2);
|
||||
sleep(1);
|
||||
|
||||
header("Location: " . $_SERVER["HTTP_REFERER"]);
|
||||
|
||||
|
|
@ -1771,7 +1771,7 @@ if(isset($_GET['update_db'])){
|
|||
|
||||
$_SESSION['alert_message'] = "Database structure update successful";
|
||||
|
||||
sleep(2);
|
||||
sleep(1);
|
||||
|
||||
header("Location: " . $_SERVER["HTTP_REFERER"]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue