|
@@ -14,7 +14,7 @@ $loader = require_once __DIR__.'/../vendor/autoload.php';
|
|
|
|
|
|
$app = new Silex\Application();
|
|
|
|
|
|
-$dbh = new PDO('mysql:host=192.168.100.102;dbname=hello_world', 'benchmarkdbuser', 'benchmarkdbpass', array(
|
|
|
+$dbh = new PDO('mysql:host=127.0.0.1;dbname=hello_world', 'benchmarkdbuser', 'benchmarkdbpass', array(
|
|
|
PDO::ATTR_PERSISTENT => true
|
|
|
));
|
|
|
|
|
@@ -34,8 +34,7 @@ $app->register(new DoctrineOrmServiceProvider, array(
|
|
|
'path' => __DIR__.'/../src/Entity',
|
|
|
'use_simple_annotation_reader' => false,
|
|
|
),
|
|
|
- ),
|
|
|
- 'metadata_cache' => 'redis'
|
|
|
+ )
|
|
|
),
|
|
|
));
|
|
|
|