# HG changeset patch # User yoneda # Date 1247838041 -32400 # Node ID 95629ba1f043e477a745a17a6c4708c8b8ce90f9 # Parent 19bd80c600095c338b825a94da71f27e598c5b28 modified: recomplete.php diff -r 19bd80c60009 -r 95629ba1f043 recomplete.php --- 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;