X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=config%2Fapp.ini;h=5d15fff9139c1fc98f83e21c43a6b0db2a5f50ba;hb=d486fd6294f68a1d74601b28ab10e6fab9853e16;hp=7b9ca3871b302575fd91693e9e0c838157a28876;hpb=9815b77a14832685f90d34f9a348af1cadd63576;p=pharext%2Fpharext.org diff --git a/config/app.ini b/config/app.ini index 7b9ca38..5d15fff 100644 --- a/config/app.ini +++ b/config/app.ini @@ -13,11 +13,12 @@ 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 @@ -32,17 +33,26 @@ session.cache_limiter = "" session.cache_expire = 0 pq.flags = 0 -pq.dsn = "user=pharext host=localhost" +pq.dsn = "user=pharext" log.github.streamhandler.handler = StreamHandler log.github.streamhandler.args[] = ../logs/github.log ; Logger::DEBUG == 100 log.github.streamhandler.args[] = 100 +log.session.streamhandler.handler = StreamHandler +log.session.streamhandler.args.0 = ../logs/session.log +log.session.streamhandler.args.1 = 100 + +log.query.streamhandler.handler = StreamHandler +log.query.streamhandler.args.0 = ../logs/query.log +log.query.streamhandler.args.1 = 100 + [localhost : production] -github.hook.url = https://pharext.ngrok.io/src/pharext.org.git/public/github/hook +github.hook.url = https://pharext.ngrok.io/github/hook github.hook.insecure_ssl = 1 github.hook.use_basic_auth = ngrok -ngrok.command = ngrok \ No newline at end of file +ngrok.command = ngrok +session.save_path = /tmp