1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

B #5219: High CPU consumption by onemonitord

This commit is contained in:
Ruben S. Montero 2021-01-08 14:06:07 +01:00
parent f4c48b7724
commit f9dcc26176
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87
2 changed files with 2 additions and 2 deletions

View File

@ -641,7 +641,7 @@ string * one_util::zlib_decompress(const string& in, bool base64)
rc = inflate(&zs, Z_FINISH);
if ( rc != Z_STREAM_END && rc != Z_OK && rc != Z_BUF_ERROR )
if ( rc != Z_STREAM_END && rc != Z_OK )
{
inflateEnd(&zs);

View File

@ -173,7 +173,7 @@ int zlib_decompress(const std::string& in, std::string& out)
rc = inflate(&zs, Z_FINISH);
if ( rc != Z_STREAM_END && rc != Z_OK && rc != Z_BUF_ERROR )
if ( rc != Z_STREAM_END && rc != Z_OK )
{
inflateEnd(&zs);