Brian Gough
17c14b1192
fix formatting with make format_fix
2020-06-02 09:18:38 +01:00
Brian Gough
8c60406bb5
Merge pull request #170 from overleaf/jpa-import-141
...
[DockerRunner] destroyOldContainers: fix a race confition
2020-06-02 09:04:59 +01:00
Jakob Ackermann
f8cb5e36af
[DockerRunner] destroyOldContainers: normalize the container name
...
The docker api returns each name with a `/` prefix.
In order to not interfere with pending compiles, the deletion process
has to acquire an internal lock on the container. The LockManager uses
the plain container name without the slash: `project-xxx`.
Signed-off-by: Jakob Ackermann <das7pad@outlook.com >
2020-05-29 11:28:26 +01:00
Henry Oswald
fec359afac
Merge pull request #162 from overleaf/ta-jpa-epipe-retry
...
[DockerRunner] retry container inspect on EPIPE
2020-05-19 11:15:25 +01:00
Henry Oswald
4bd567b78d
Merge branch 'master' into bg-support-other-runtimes
...
port coffee changes to js
2020-04-23 13:59:05 +01:00
Jakob Ackermann
2b2fcca39c
[DockerRunner] fix metric incrementing and error logging
...
- do not log on first EPIPE
- inc 'container-inspect-epipe-error' on permanent error only
Co-Authored-By: Tim Alby <timothee.alby@gmail.com >
2020-04-10 14:44:57 +02:00
Tim Alby
9e82ab0890
add metrics for EPIPE errors
...
Co-Authored-By: Jakob Ackermann <jakob.ackermann@overleaf.com >
2020-04-10 12:28:48 +02:00
Tim Alby
e3da458b37
retry once on EPIPE errors
...
Co-Authored-By: Jakob Ackermann <jakob.ackermann@overleaf.com >
2020-04-10 12:28:11 +02:00
Jakob Ackermann
4a26ec975f
[misc] keep up with the error signature of dockerode/docker-modem
...
https://github.com/apocas/docker-modem/blob/v2.1.1/lib/modem.js#L296
2020-03-27 10:39:45 +01:00
mserranom
ee12573b06
added container monitor cleanup to fix hanging tests
2020-02-20 17:24:28 +01:00
mserranom
cffbd4e9ef
prettier: convert app/js decaffeinated files to Prettier format
2020-02-19 12:14:37 +01:00
mserranom
4576ef54fb
decaffeinate: rename app/coffee dir to app/js
2020-02-19 12:14:34 +01:00