Browse Source

Merge pull request #77 from YunoHost-Apps/enh_redis_locking

Enable Redis file locking
pull/84/head
JimboJoe 8 years ago
committed by GitHub
parent
commit
c1dd48d70a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      conf/config.json
  2. 5
      conf/nginx.conf
  3. 2
      scripts/_common.sh

10
conf/config.json

@ -7,7 +7,15 @@
],
"updatechecker": false,
"memcache.local": "\\OC\\Memcache\\APCu",
"integrity.check.disabled": true
"integrity.check.disabled": true,
"filelocking.enabled": true,
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "localhost",
"port": "6379",
"timeout": "0.0",
"password": ""
}
},
"apps": {
"user_ldap": {

5
conf/nginx.conf

@ -24,6 +24,11 @@ location ^~ __PATH__ {
client_max_body_size 10G;
fastcgi_buffers 64 4K;
# Extend timeouts
client_body_timeout 60m;
proxy_read_timeout 60m;
fastcgi_read_timeout 60m;
# Disable gzip to avoid the removal of the ETag header
gzip off;

2
scripts/_common.sh

@ -3,7 +3,7 @@
# COMMON VARIABLES
#=================================================
pkg_dependencies="php5-gd php5-json php5-intl php5-mcrypt php5-curl php5-apcu php5-imagick acl tar smbclient"
pkg_dependencies="php5-gd php5-json php5-intl php5-mcrypt php5-curl php5-apcu php5-redis php5-imagick imagemagick acl tar smbclient"
#=================================================
# COMMON HELPERS

Loading…
Cancel
Save