mirror of https://github.com/yandex/odyssey.git
parent
173a0defe7
commit
ffebb6f855
|
@ -21,4 +21,4 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
|
|
||||||
RUN mkdir -p /pdbuild && mkdir -p /pgbin && mv /root/odys/tmp /pdbuild
|
RUN mkdir -p /pdbuild && mkdir -p /pgbin && mv /root/odys/tmp /pdbuild
|
||||||
|
|
||||||
ENTRYPOINT ["/root/odys/dpkg/entrypoint.sh"]
|
ENTRYPOINT ["/root/odys/docker/dpkg/entrypoint.sh"]
|
||||||
|
|
|
@ -6,7 +6,7 @@ export DEBIAN_FRONTEND=noninteractive
|
||||||
export TZ=Europe/Moskow
|
export TZ=Europe/Moskow
|
||||||
sudo bash -c "echo $TZ > /etc/timezone"
|
sudo bash -c "echo $TZ > /etc/timezone"
|
||||||
|
|
||||||
/root/odys/dpkg/tzdata.sh
|
/root/odys/docker/dpkg/tzdata.sh
|
||||||
|
|
||||||
#compile pg
|
#compile pg
|
||||||
#======================================================================================================================================
|
#======================================================================================================================================
|
||||||
|
|
|
@ -211,9 +211,9 @@ static void od_cron(void *arg)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// we take a lock here
|
// we take a lock here
|
||||||
// to prevent usage routes that are deallocated while shutdown
|
// to prevent usage routes that are deallocated while shutdown
|
||||||
pthread_mutex_lock(&cron->lock);
|
pthread_mutex_lock(&cron->lock);
|
||||||
{
|
{
|
||||||
/* mark and sweep expired idle server connections */
|
/* mark and sweep expired idle server connections */
|
||||||
od_cron_expire(cron);
|
od_cron_expire(cron);
|
||||||
|
|
Loading…
Reference in New Issue