more mysql and phabricator tweaks

This commit is contained in:
Tim Flink 2015-05-13 20:46:29 +00:00
parent e5a5ca9e79
commit f7a3d762cb
3 changed files with 11 additions and 1 deletions

View file

@ -30,7 +30,7 @@ port = 3306
socket = /var/lib/mysql/mysql.sock
skip-external-locking
key_buffer_size = 16M
max_allowed_packet = 1M
max_allowed_packet = 32M
table_open_cache = 64
sort_buffer_size = 512K
net_buffer_length = 8K
@ -136,6 +136,7 @@ innodb_lock_wait_timeout = 50
# added as per reccommended by phab setup
ft_stopword_file=/usr/share/phabricator/resources/sql/stopwords.txt
ft_min_word_len=3
ft_boolean_syntax=' |-><()~*:""&^'
[mysqldump]
quick

View file

@ -39,6 +39,14 @@
notify:
- restart httpd
- name: update php-opcache config
copy:
src: "10-opcache.ini"
dest: /etc/php.d/10-opcache.ini
owner: root
group: root
mode: 0644
- name: create git repo root for phabricator
file: path={{ phabricator_repodir }} state=directory owner={{ phabricator_daemon_user }} group={{ phabricator_daemon_user }} mode=1755
when: enable_phabricator_git

View file

@ -11,6 +11,7 @@
"phd.pid-directory" : "/var/run/phabricator/",
"phd.log-directory" : "/var/log/phabricator/",
"phd.user" : "{{ phabricator_daemon_user }}",
"pygments.enabled" : "true",
"storage.local-disk.path" : "{{ phabricator_filedir }}",
"repository.default-local-path" : "{{ phabricator_repodir }}",
"environment.append-paths" : ["/usr/libexec/git-core/"],