Skip to content

Commit d94eacb

Browse files
Robert MarshallClemens Beck
andcommitted
Merge branch '8323-fix-slow-docker-startup' into 'master'
Do not scan entire /var/opt/gitlab for stale pids Closes #8323 See merge request https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7264 Merged-by: Robert Marshall <[email protected]> Approved-by: Dustin Collins <[email protected]> Approved-by: Robert Marshall <[email protected]> Co-authored-by: Clemens Beck <[email protected]>
2 parents 3d6a6b3 + 4a815e0 commit d94eacb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/assets/wrapper

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function clean_stale_pids() {
2424
# - any (s)ocket or regular (f)ile
2525
# - by the name of "*.pid" or "socket.?"
2626
# - and delete them
27-
find $x \
27+
find $x -maxdepth 4 \
2828
\( \
2929
-type f \
3030
-o -type s \

0 commit comments

Comments
 (0)