fix deadlock
This commit is contained in:
parent
71843eb27f
commit
46ff036c38
3 changed files with 5 additions and 2 deletions
|
|
@ -7,7 +7,8 @@ JMX_MONITORING_PORT=11002
|
|||
JMX_HOSTNAME=
|
||||
|
||||
#volumes
|
||||
REPORT_DIR=/opt/credit_tracker_docker/reports
|
||||
REPORT_MAIN_DIR=/opt/credit_tracker_docker/main/reports
|
||||
REPORT_MONITOR_DIR=/opt/credit_tracker_docker/monitor/reports
|
||||
LOGS_DIR=/opt/credit_tracker_docker/logs
|
||||
JSON_LOGS_DIR=/opt/credit_tracker_docker/logs/json
|
||||
ACCESS_LOGS_DIR=/opt/credit_tracker_docker/logs/access
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ services:
|
|||
volumes:
|
||||
- ${LOGS_DIR}:/opt/app/logs/app
|
||||
- ${JSON_LOGS_DIR}:/opt/app/logs/json
|
||||
- ${REPORT_DIR}:/opt/app/reports
|
||||
- ${REPORT_MAIN_DIR}:/opt/app/reports
|
||||
- ${ACCESS_LOGS_DIR}:/opt/app/logs/access
|
||||
ports:
|
||||
- "${HOST_PORT}:${SERVER_PORT}"
|
||||
|
|
@ -93,6 +93,7 @@ services:
|
|||
container_name: credit-tracker-monitoring
|
||||
restart: always
|
||||
volumes:
|
||||
- ${REPORT_MONITOR_DIR}:/opt/app/reports
|
||||
- ${LOGS_DIR}:/opt/app/logs/app
|
||||
- ${JSON_LOGS_DIR}:/opt/app/logs/json
|
||||
environment:
|
||||
|
|
|
|||
|
|
@ -107,6 +107,7 @@
|
|||
birth_dt,
|
||||
now()
|
||||
FROM src
|
||||
order by phone
|
||||
ON CONFLICT (phone) DO UPDATE
|
||||
SET fid = EXCLUDED.fid,
|
||||
phone = EXCLUDED.phone,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue