add redis cache storage
[pharext/pharext.org] / app / bootstrap / github.php
index 04396fb6cfaf30a1b849439c269150e68a5099ee..0ec014e09c00d7c0aac54c26e19da76d82ae6bd2 100644 (file)
@@ -17,9 +17,10 @@ $injector->share(Github\API::class)
                                0);
                }
                return new Github\API(
-                       $config->github
-                  ,new Github\Storage\Session("gh-tokens")
+                        $config->github
+                       ,new Github\Storage\Session("gh-tokens")
                   #,new Github\Storage\Memcache("gh-cache")
+                       ,new Github\Storage\Redis("gh-cache")
           );
        });