add debug message to new multicall to match original
Fixes https://pagure.io/koji/issue/1514
This commit is contained in:
parent
fac81bd7be
commit
0b92bd3d44
1 changed files with 3 additions and 0 deletions
|
|
@ -2970,6 +2970,9 @@ class MultiCallSession(object):
|
|||
calls = self._calls
|
||||
self._calls = []
|
||||
if batch:
|
||||
self._session.logger.debug(
|
||||
"MultiCall with batch size %i, calls/groups(%i/%i)",
|
||||
batch, len(calls), round(len(calls) // batch))
|
||||
batches = [calls[i:i+batch] for i in range(0, len(calls), batch)]
|
||||
else:
|
||||
batches = [calls]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue