multithread opsi-client-agent-deploy bug?

Antworten
cj82
Beiträge: 6
Registriert: 17 Okt 2015, 12:10

multithread opsi-client-agent-deploy bug?

Beitrag von cj82 »

I think this code

Code: Alles auswählen

while len(runningThreads) > maxThreads
is wrong. In this way I can have maxThreads +1 process active.
The correct code wuold be

Code: Alles auswählen

while len(runningThreads) >= maxThreads
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: multithread opsi-client-agent-deploy bug?

Beitrag von n.wenselowski »

Hi,

thanks for the report!

I opened an internal ticket for this.


Kind regards

Niko

Code: Alles auswählen

import OPSI
Antworten