dockerbuild fix (#289)

Co-authored-by: reshke <Kirill Reshke>
This commit is contained in:
kirill reshke 2021-03-05 17:40:23 +05:00 committed by GitHub
parent 173a0defe7
commit ffebb6f855
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View File

@ -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
ENTRYPOINT ["/root/odys/dpkg/entrypoint.sh"]
ENTRYPOINT ["/root/odys/docker/dpkg/entrypoint.sh"]

View File

@ -6,7 +6,7 @@ export DEBIAN_FRONTEND=noninteractive
export TZ=Europe/Moskow
sudo bash -c "echo $TZ > /etc/timezone"
/root/odys/dpkg/tzdata.sh
/root/odys/docker/dpkg/tzdata.sh
#compile pg
#======================================================================================================================================

View File

@ -211,9 +211,9 @@ static void od_cron(void *arg)
return;
}
// we take a lock here
// to prevent usage routes that are deallocated while shutdown
pthread_mutex_lock(&cron->lock);
// we take a lock here
// to prevent usage routes that are deallocated while shutdown
pthread_mutex_lock(&cron->lock);
{
/* mark and sweep expired idle server connections */
od_cron_expire(cron);