Job waiting (pending) for runner too long
Hello,
I have a machine with 3 custom runners installed on it and a check_interval set at 2 seconds.
The problem is that whenever a new pipeline is started, the job sits at "pending" for 3-4 minutes before actually being started by the runner.
Expected behavior: The job should start building a few seconds after the pipelines is created and not a few minutes later.
My setup
When i check the runners interface I have:
And then when I click on each runner it says "Last contact 5 minutes ago".
My toml is :
concurrent = 1
check_interval = 2
[[runners]]
name = "ddf-runner-java"
url = "https://gitlab.com/"
token = "TOKEN"
executor = "docker"
[runners.docker]
tls_verify = false
image = "gitlab-runner-java:alpine"
privileged = false
disable_cache = false
volumes = ["/cache"]
pull_policy = "if-not-present"
shm_size = 0
[runners.cache]
[[runners]]
name = "ddf-runner-node"
url = "https://gitlab.com/"
token = "TOKEN"
executor = "docker"
[runners.docker]
tls_verify = false
image = "gitlab-runner-node:alpine"
privileged = false
disable_cache = false
volumes = ["/cache"]
pull_policy = "if-not-present"
shm_size = 0
[runners.cache]
[[runners]]
name = "ddf-runner-aws"
url = "https://gitlab.com/"
token = "TOKEN"
executor = "docker"
[runners.docker]
tls_verify = false
image = "gitlab-runner-aws:alpine"
privileged = false
disable_cache = false
volumes = ["/cache", "aws-config-vol:/root/.aws"]
pull_policy = "if-not-present"
shm_size = 0
[runners.cache]
