changeset 22:95629ba1f043

modified: recomplete.php
author yoneda <yoneda@debian.localnet.mda.or.jp>
date Fri, 17 Jul 2009 22:40:41 +0900
parents 19bd80c60009
children f3bf1be1a51b
files recomplete.php
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/recomplete.php	Fri Jul 17 12:10:59 2009 +0900
+++ b/recomplete.php	Fri Jul 17 22:40:41 2009 +0900
@@ -11,11 +11,11 @@
 	if( file_exists( INSTALL_PATH . SPOOL . "/". $rrec->path ) ) {
 		// 予約完了
 		$rrec->complete = '1';
-		if( defined(MEDIATOMB_UPDATE) ) {
+		if( defined("MEDIATOMB_UPDATE") ) {
 			if( MEDIATOMB_UPDATE ) {
 				// ちょっと待った方が確実っぽい
 				@exec("sync");
-				sleep(60);
+				sleep(15);
 				$dbh = mysql_connect( DB_HOST, DB_USER, DB_PASS );
 				if( $dbh !== false ) {
 					$sqlstr = "use ".DB_NAME;