postgresql / db-koji: re-add this connection cleanup
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
16576acfe1
commit
9a4a973b05
1 changed files with 19 additions and 19 deletions
|
@ -173,25 +173,25 @@
|
||||||
- cron
|
- cron
|
||||||
- postgresql
|
- postgresql
|
||||||
|
|
||||||
#- name: install script to kill long running pgsql jobs
|
- name: install script to kill long running pgsql jobs
|
||||||
# copy: >
|
copy: >
|
||||||
# src=kill_idle_xact_92.sh
|
src=kill_idle_xact_92.sh
|
||||||
# dest=/usr/local/bin/kill_idle_xact_92.sh
|
dest=/usr/local/bin/kill_idle_xact_92.sh
|
||||||
# mode=0755
|
mode=0755
|
||||||
# when: inventory_hostname.startswith('db-koji01')
|
when: inventory_hostname.startswith('db-koji01')
|
||||||
# tags:
|
tags:
|
||||||
# - cron
|
- cron
|
||||||
# - postgresql
|
- postgresql
|
||||||
#
|
|
||||||
#- name: Set up a cron job to kill long postresql queries
|
- name: Set up a cron job to kill long postresql queries
|
||||||
# copy: >
|
copy: >
|
||||||
# src=koji-cleanup-locks.cron
|
src=koji-cleanup-locks.cron
|
||||||
# dest=/etc/cron.d/koji-cleanup-locks.cron
|
dest=/etc/cron.d/koji-cleanup-locks.cron
|
||||||
# when: inventory_hostname.startswith('db-koji01')
|
when: inventory_hostname.startswith('db-koji01')
|
||||||
# tags:
|
tags:
|
||||||
# - cron
|
- cron
|
||||||
# - postgresql
|
- postgresql
|
||||||
#
|
|
||||||
- name: Set up a script for cron job to clean long fas sessions on fas database server only
|
- name: Set up a script for cron job to clean long fas sessions on fas database server only
|
||||||
copy: >
|
copy: >
|
||||||
src=fasdb-cleanup-sessions
|
src=fasdb-cleanup-sessions
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue