trigger mirror
[pharext/pharext.org] / config / app.ini
index ec01dbf4adcd3523da4dbaad03c48b6d6bc744bc..24178f7926eeae8515f1664a9b976906fc1f2296 100644 (file)
@@ -6,16 +6,21 @@ github.api.accept = application/vnd.github.v3+json
 github.api.call.listrepos.args.per_page = 10
 github.api.call.listhooks.args.per_page = 100
 
+github.http.configure.pipelining = true
+
 github.hook.url = https://pharext.org/github/hook
 github.hook.content_type = json
 github.hook.insecure_ssl = 0
 
 github.storage.token.ttl = 3600
-github.storage.cache.repo.ttl = 3600
-github.storage.cache.repos.ttl = 3600
-github.storage.cache.hooks.ttl = 3600
-github.storage.cache.tags.ttl = 3600
-github.storage.cache.releases.ttl = 3600
+github.storage.cache.readrepo.ttl = 3600
+github.storage.cache.listrepos.ttl = 3600
+github.storage.cache.listhooks.ttl = 3600
+github.storage.cache.listtags.ttl = 3600
+github.storage.cache.listreleases.ttl = 3600
+github.storage.cache.listreleaseassets.ttl = 3600
+
+github.log = github
 
 session.use_cookies = 1
 session.use_only_cookies = 1
@@ -30,6 +35,11 @@ session.cache_expire = 0
 pq.flags = 0
 pq.dsn = "user=pharext host=localhost"
 
+log.github.streamhandler.handler = StreamHandler
+log.github.streamhandler.args[] = ../logs/github.log
+; Logger::DEBUG == 100
+log.github.streamhandler.args[] = 100
+
 [localhost : production]
 
 github.hook.url = https://pharext.ngrok.io/src/pharext.org.git/public/github/hook