true, // Which SuperVisor should be used 'SuperVisor' => [ 'type' => Core::getEnv('SUPERVISOR_TYPE', 'ParallelSuperVisor'), 'parameters' => [] ], 'TaskStorage' => [ 'type' => Core::getEnv('TASKSTORAGE_TYPE', 'DummyTaskStorage'), // For ArrayTaskStorage, first parameter is the file location of the array storage #'parameters' => [ # 'filename' => dirname(__FILE__) . DS . 'storage.php' #], // For RedisTaskStorage, parameters are connection properties 'parameters' => [ // Type can be 'tcp' or 'unix' 'socket_type' => Core::getEnv('TASKSTORAGE_REDIS_SOCKET_TYPE', 'tcp'), // If socket_type == 'unix', set the socket here 'socket' => Core::getEnv('TASKSTORAGE_REDIS_SOCKET', null), // If socket_type == 'tcp', set the host here 'host' => Core::getEnv('TASKSTORAGE_REDIS_HOST', '127.0.0.1'), // And some standard settings 'password' => Core::getEnv('TASKSTORAGE_REDIS_PASSWORD', null), 'port' => Core::getEnv('TASKSTORAGE_REDIS_PORT', 6379), 'timeout' => Core::getEnv('TASKSTORAGE_REDIS_TIMEOUT', 0), ] ], 'Executor' => [ 'type' => Core::getEnv('EXECUTOR_TYPE', 'ShellExecutor'), // For ShellExecutor, first parameter is the file location of the worker script 'parameters' => [ 'workerFile' => dirname(__FILE__) . DS . 'bin' . DS . 'worker' ] ] );