true, // Which SuperVisor should be used, and with what settings 'SuperVisor' => [ 'type' => Core::getEnv('SUPERVISOR_TYPE', 'ParallelSuperVisor'), 'ParallelSuperVisor' => ['parameters' => []] ], // Which TaskStorage should be used, and with what settings 'TaskStorage' => [ 'type' => Core::getEnv('TASKSTORAGE_TYPE', 'DummyTaskStorage'), 'DummyTaskStorage' => ['parameters' => []], 'ArrayTaskStorage' => [ 'parameters' => [ 'filename' => Core::getEnv('TASKSTORAGE_ARRAY_FILE', dirname(__FILE__) . DS . 'temp'. DS . 'storage.php') ] ], 'RedisTaskStorage' => [ '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), 'db_index' => Core::getEnv('TASKSTORAGE_REDIS_DBINDEX', 0), ] ], ], // Which Executor should be used, and with what settings 'Executor' => [ 'type' => Core::getEnv('EXECUTOR_TYPE', 'ShellExecutor'), 'ShellExecutor' => [ 'parameters' => [ 'workerFile' => Core::getEnv('EXECUTOR_SHELL_WORKER', dirname(__FILE__, 2) . DS . 'bin' . DS . 'worker'), 'bootstrapFile' => Core::getEnv('EXECUTOR_SHELL_BOOTSTRAP', dirname(__FILE__) . DS . 'bootstrap.php') ] ] ] );