Adding back analyzer deadlock workaround.
Removing command to delete empty sub folders inside organize.
This commit is contained in:
parent
81dd1deba3
commit
c291439483
|
@ -252,8 +252,8 @@ class Rest_MediaController extends Zend_Rest_Controller
|
||||||
$file->setDbMtime($now);
|
$file->setDbMtime($now);
|
||||||
$file->save();
|
$file->save();
|
||||||
|
|
||||||
$this->removeEmptySubFolders(
|
/* $this->removeEmptySubFolders(
|
||||||
isset($_SERVER['AIRTIME_BASE']) ? $_SERVER['AIRTIME_BASE']."/srv/airtime/stor/organize/" : "/srv/airtime/stor/organize/");
|
isset($_SERVER['AIRTIME_BASE']) ? $_SERVER['AIRTIME_BASE']."/srv/airtime/stor/organize/" : "/srv/airtime/stor/organize/"); */
|
||||||
|
|
||||||
$this->getResponse()
|
$this->getResponse()
|
||||||
->setHttpResponseCode(200)
|
->setHttpResponseCode(200)
|
||||||
|
|
|
@ -34,7 +34,7 @@ class AnalyzerPipeline:
|
||||||
# It is super critical to initialize a separate log file here so that we
|
# It is super critical to initialize a separate log file here so that we
|
||||||
# don't inherit logging/locks from the parent process. Supposedly
|
# don't inherit logging/locks from the parent process. Supposedly
|
||||||
# this can lead to Bad Things (deadlocks): http://bugs.python.org/issue6721
|
# this can lead to Bad Things (deadlocks): http://bugs.python.org/issue6721
|
||||||
#AnalyzerPipeline.python_logger_deadlock_workaround()
|
AnalyzerPipeline.python_logger_deadlock_workaround()
|
||||||
|
|
||||||
try:
|
try:
|
||||||
if not isinstance(queue, multiprocessing.queues.Queue):
|
if not isinstance(queue, multiprocessing.queues.Queue):
|
||||||
|
|
Loading…
Reference in New Issue