Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
renovate
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
Renovate Bot
renovate
Commits
40c9ec4e
Commit
40c9ec4e
authored
5 years ago
by
Rhys Arkins
Browse files
Options
Downloads
Patches
Plain Diff
fix: intensify lookup debugging
parent
5167c634
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/workers/repository/process/fetch.ts
+11
-0
11 additions, 0 deletions
lib/workers/repository/process/fetch.ts
with
11 additions
and
0 deletions
lib/workers/repository/process/fetch.ts
+
11
−
0
View file @
40c9ec4e
...
...
@@ -75,6 +75,7 @@ async function fetchDepUpdates(
currentValue
,
updates
:
dep
.
updates
,
});
logger
.
debug
({
packageFile
,
depName
},
'
fetchDepUpdates finished
'
);
}
/* eslint-enable no-param-reassign */
}
...
...
@@ -84,11 +85,17 @@ async function fetchManagerPackagerFileUpdates(
managerConfig
:
ManagerConfig
,
pFile
:
PackageFile
):
Promise
<
void
>
{
const
{
packageFile
}
=
pFile
;
const
packageFileConfig
=
mergeChildConfig
(
managerConfig
,
pFile
);
const
queue
=
pFile
.
deps
.
map
(
dep
=>
():
Promise
<
void
>
=>
fetchDepUpdates
(
packageFileConfig
,
dep
)
);
logger
.
debug
(
{
packageFile
,
queueLength
:
queue
.
length
},
'
fetchManagerPackagerFileUpdates starting
'
);
await
pAll
(
queue
,
{
concurrency
:
5
});
logger
.
debug
({
packageFile
},
'
fetchManagerPackagerFileUpdates finished
'
);
}
async
function
fetchManagerUpdates
(
...
...
@@ -100,6 +107,10 @@ async function fetchManagerUpdates(
const
queue
=
packageFiles
[
manager
].
map
(
pFile
=>
():
Promise
<
void
>
=>
fetchManagerPackagerFileUpdates
(
config
,
managerConfig
,
pFile
)
);
logger
.
debug
(
{
manager
,
queueLength
:
queue
.
length
},
'
fetchManagerUpdates starting
'
);
await
pAll
(
queue
,
{
concurrency
:
5
});
logger
.
debug
({
manager
},
'
fetchManagerUpdates finished
'
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment