projects
/
pharext
/
pharext.org
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
add redis cache storage
[pharext/pharext.org]
/
app
/
bootstrap
/
github.php
diff --git
a/app/bootstrap/github.php
b/app/bootstrap/github.php
index 04396fb6cfaf30a1b849439c269150e68a5099ee..0ec014e09c00d7c0aac54c26e19da76d82ae6bd2 100644
(file)
--- a/
app/bootstrap/github.php
+++ b/
app/bootstrap/github.php
@@
-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")
);
});